mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
__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:
committed by
Sebastian Rittau
parent
e8647d2d1d
commit
3934da12f6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user