mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-21 06:45:24 -06:00
docs: fix docstring
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
This commit is contained in:
parent
2ceed5c376
commit
342a1ef888
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ class NaType(str):
|
|||
return (self // other, self % other)
|
||||
|
||||
def __rdivmod__(self, other: object) -> Tuple[float, float]:
|
||||
"""divmod(other, :const:`nvitop.NA): The pair (other // :const:`nvitop.NA`, other % :const:`nvitop.NA`).
|
||||
"""divmod(other, :const:`nvitop.NA`): The pair (other // :const:`nvitop.NA`, other % :const:`nvitop.NA`).
|
||||
|
||||
>>> divmod(1024, NA)
|
||||
(nan, nan)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue