Python #ifdef

Joel Goldstick joel.goldstick at gmail.com
Tue May 28 15:49:03 EDT 2013


No
On May 28, 2013 3:48 PM, "Carlos Nepomuceno" <carlosnepomuceno at outlook.com>
wrote:

> Are there Python 'preprocessor directives'?
>
> I'd like to have something like '#ifdef' to mix code from Python 2 and 3
> in a single file.
>
> Is that possible? How?
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130528/541854ae/attachment.html>


More information about the Python-list mailing list