mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 03:51:52 +08:00
stdlib: add argument default values (#9501)
This commit is contained in:
@@ -8,7 +8,7 @@ __all__ = ["Repr", "repr", "recursive_repr"]
|
||||
|
||||
_ReprFunc: TypeAlias = Callable[[Any], str]
|
||||
|
||||
def recursive_repr(fillvalue: str = ...) -> Callable[[_ReprFunc], _ReprFunc]: ...
|
||||
def recursive_repr(fillvalue: str = "...") -> Callable[[_ReprFunc], _ReprFunc]: ...
|
||||
|
||||
class Repr:
|
||||
maxlevel: int
|
||||
|
||||
Reference in New Issue
Block a user