mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
complete __future__ stubs (#1326)
We were missing the most important one.
This commit is contained in:
committed by
Matthias Kramm
parent
5e4165493a
commit
97f32a57a2
@@ -1,16 +1,21 @@
|
||||
import sys
|
||||
from typing import List
|
||||
|
||||
class _Feature:
|
||||
def getOptionalRelease(self) -> sys._version_info: ...
|
||||
def getMandatoryRelease(self) -> sys._version_info: ...
|
||||
|
||||
absolute_import = ... # type: _Feature
|
||||
division = ... # type: _Feature
|
||||
generators = ... # type: _Feature
|
||||
nested_scopes = ... # type: _Feature
|
||||
print_function = ... # type: _Feature
|
||||
unicode_literals = ... # type: _Feature
|
||||
with_statement = ... # type: _Feature
|
||||
absolute_import: _Feature
|
||||
division: _Feature
|
||||
generators: _Feature
|
||||
nested_scopes: _Feature
|
||||
print_function: _Feature
|
||||
unicode_literals: _Feature
|
||||
with_statement: _Feature
|
||||
if sys.version_info >= (3, 0):
|
||||
barry_as_FLUFL: _Feature
|
||||
|
||||
if sys.version_info[:2] >= (3, 5):
|
||||
generator_stop = ... # type: _Feature
|
||||
if sys.version_info >= (3, 5):
|
||||
generator_stop: _Feature
|
||||
|
||||
all_feature_names: List[str]
|
||||
|
||||
Reference in New Issue
Block a user