__future__: add _Feature.compiler_flag (#3522)

Documented under the "CompilerFlag" paragraph here:
https://docs.python.org/3/library/__future__.html
This commit is contained in:
Ran Benita
2019-12-03 14:17:03 +02:00
committed by Sebastian Rittau
parent e8647d2d1d
commit 3934da12f6

View File

@@ -4,6 +4,7 @@ from typing import List
class _Feature:
def getOptionalRelease(self) -> sys._version_info: ...
def getMandatoryRelease(self) -> sys._version_info: ...
compiler_flag: int
absolute_import: _Feature
division: _Feature
@@ -21,4 +22,4 @@ if sys.version_info >= (3, 5):
if sys.version_info >= (3, 7):
annotations: _Feature
all_feature_names: List[str]
all_feature_names: List[str] # undocumented