mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 03:41:28 +08:00
Add __future__.generator_stop for Python 3.5 (#195)
This commit is contained in:
committed by
Guido van Rossum
parent
ea734c69d0
commit
833a81d85e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user