PyDocs
Standard Library
(3.15.2)
Quick Reference
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Python Runtime Services
__future__
__main__
abc
annotationlib
atexit
builtins
contextlib
dataclasses
gc
inspect
site
sitecustomize
sys
sys.monitoring
sysconfig
traceback
usercustomize
warnings
All modules
PyDocs
Standard Library
Quick Ref
Log In
Staging: this is not the live site, pydocs.org.
PyDocs
Standard Library
Quick Ref
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Python Runtime Services
__future__
__main__
abc
annotationlib
atexit
builtins
contextlib
dataclasses
gc
inspect
site
sitecustomize
sys
monitoring
sysconfig
traceback
usercustomize
warnings
All modules
_Feature
__future__
class
(
source
)
_Feature(optionalRelease, mandatoryRelease, compiler_flag)
Each statement in __future__.py is of the form:
© Python Software Foundation.
PSF License Version 2
·
Official docs ↗
Members of _Feature
c
compiler_flag
CompilerFlag is the (bitfield) flag that should be passed in the fourth argument to the built-in function compile() to enable the feature in dynamically compiled code.
g
getMandatoryRelease
Return release in which this feature will become mandatory.
getOptionalRelease
Return first release in which this feature was recognized.
0 Examples
No examples for __future__/_Feature.
Log in
to add an example
See Also
No see-alsos for
__future__/_Feature
Log in
to add a see-also
0 Notes
No notes for
_Feature
Log in
to add a note