Add __future__.generator_stop for Python 3.5 (#195)

This commit is contained in:
Thomas Grainger
2016-05-12 23:39:55 +01:00
committed by Guido van Rossum
parent ea734c69d0
commit 833a81d85e

View File

@@ -1,8 +1,8 @@
from sys import _version_info
import sys
class _Feature:
def getOptionalRelease(self) -> _version_info: ...
def getMandatoryRelease(self) -> _version_info: ...
def getOptionalRelease(self) -> sys._version_info: ...
def getMandatoryRelease(self) -> sys._version_info: ...
absolute_import = ... # type: _Feature
division = ... # type: _Feature
@@ -11,3 +11,6 @@ nested_scopes = ... # type: _Feature
print_function = ... # type: _Feature
unicode_literals = ... # type: _Feature
with_statement = ... # type: _Feature
if sys.version_info[:2] >= (3, 5):
generator_stop = ... # type: _Feature