massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stdlib / __future__.pyi
1 import sys
2
3 class _Feature:
4     def __init__(self, optionalRelease: sys._version_info, mandatoryRelease: sys._version_info, compiler_flag: int) -> None: ...
5     def getOptionalRelease(self) -> sys._version_info: ...
6     def getMandatoryRelease(self) -> sys._version_info: ...
7     compiler_flag: int
8
9 absolute_import: _Feature
10 division: _Feature
11 generators: _Feature
12 nested_scopes: _Feature
13 print_function: _Feature
14 unicode_literals: _Feature
15 with_statement: _Feature
16 barry_as_FLUFL: _Feature
17 generator_stop: _Feature
18
19 if sys.version_info >= (3, 7):
20     annotations: _Feature
21
22 all_feature_names: list[str]  # undocumented
23
24 if sys.version_info >= (3, 7):
25     __all__ = [
26         "all_feature_names",
27         "absolute_import",
28         "division",
29         "generators",
30         "nested_scopes",
31         "print_function",
32         "unicode_literals",
33         "with_statement",
34         "barry_as_FLUFL",
35         "generator_stop",
36         "annotations",
37     ]
38 else:
39     __all__ = [
40         "all_feature_names",
41         "absolute_import",
42         "division",
43         "generators",
44         "nested_scopes",
45         "print_function",
46         "unicode_literals",
47         "with_statement",
48         "barry_as_FLUFL",
49         "generator_stop",
50     ]