Skip to content

Commit 0fcbf5c

Browse files
author
Max Rozentsveyg
committed
Add __str__ and fix __len__ return type
1 parent 3561d29 commit 0fcbf5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

third_party/2and3/boto/utils.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,9 @@ class Password:
167167
hashfunc: Optional[Callable] = ...,
168168
) -> None: ...
169169
def set(self, value: Union[bytes, _str]) -> None: ...
170+
def __str__(self) -> _str: ...
170171
def __eq__(self, other: Any) -> bool: ...
171-
def __len__(self) -> bool: ...
172+
def __len__(self) -> int: ...
172173

173174
def notify(
174175
subject: str,

0 commit comments

Comments
 (0)