On Fri, Sep 18, 2020 at 12:32:32PM -0400, Wes Turner wrote:
> Is there a list of supported preprocessor directives or compiler directives
> supported by CPython and other tools?
I expect that most tools will have their own list. Python doesn't really
have directives other than `from __future__ import ...`.
You can view the available future imports by treating it as a regular
module and inspecting that:
import __future__
dir(__future__)
There's also the command line options you can give when invoking the
interpreter.
--
Steve
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/5JV2WM65AEICTWE56UMU5DJR75ZVJFNV/
Code of Conduct: http://python.org/psf/codeofconduct/