complete __future__ stubs (#1326)

We were missing the most important one.
This commit is contained in:
Jelle Zijlstra
2017-05-24 08:02:47 -07:00
committed by Matthias Kramm
parent 5e4165493a
commit 97f32a57a2

View File

@@ -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]