Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion stubs/tqdm/tqdm/std.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ class tqdm(Comparable, Generic[_T]):
def moveto(self, n) -> None: ...
@property
def format_dict(self) -> MutableMapping[str, Any]: ...
def display(self, msg: str | None = None, pos: int | None = None) -> None: ...
# Subclasses such as tqdm_rich can override display() without returning a value.
def display(self, msg: str | None = None, pos: int | None = None) -> bool | None: ...

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a short comment why None is included in the return types.


@overload
@classmethod
Expand Down
Loading