mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Add __all__ to most modules beginning with 'n', 'o' and 'p' (#7345)
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
import sys
|
||||
from typing import IO
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
__all__ = ["pprint", "pformat", "isreadable", "isrecursive", "saferepr", "PrettyPrinter", "pp"]
|
||||
else:
|
||||
__all__ = ["pprint", "pformat", "isreadable", "isrecursive", "saferepr", "PrettyPrinter"]
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
def pformat(
|
||||
object: object,
|
||||
|
||||
Reference in New Issue
Block a user