mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
Consistently use '= ...' for optional parameters.
This commit is contained in:
@@ -4,17 +4,17 @@
|
||||
|
||||
from typing import Any, Dict, Tuple, TextIO
|
||||
|
||||
def pformat(o: object, indent: int = 1, width: int = 80,
|
||||
depth: int = None) -> str: ...
|
||||
def pprint(o: object, stream: TextIO = None, indent: int = 1, width: int = 80,
|
||||
depth: int = None) -> None: ...
|
||||
def pformat(o: object, indent: int = ..., width: int = ...,
|
||||
depth: int = ...) -> str: ...
|
||||
def pprint(o: object, stream: TextIO = ..., indent: int = ..., width: int = ...,
|
||||
depth: int = ...) -> None: ...
|
||||
def isreadable(o: object) -> bool: ...
|
||||
def isrecursive(o: object) -> bool: ...
|
||||
def saferepr(o: object) -> str: ...
|
||||
|
||||
class PrettyPrinter:
|
||||
def __init__(self, indent: int = 1, width: int = 80, depth: int = None,
|
||||
stream: TextIO = None) -> None: ...
|
||||
def __init__(self, indent: int = ..., width: int = ..., depth: int = ...,
|
||||
stream: TextIO = ...) -> None: ...
|
||||
def pformat(self, o: object) -> str: ...
|
||||
def pprint(self, o: object) -> None: ...
|
||||
def isreadable(self, o: object) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user