python file versioning

Jeff Epler jepler at unpythonic.net
Mon Oct 25 10:23:11 EDT 2004


No, that's completely incorrect.

  File "/tmp/diez.py", line 4
      from __future__ import nifty_feature
SyntaxError: from __future__ imports must occur at the beginning of the file

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20041025/1e8e53a0/attachment.sig>


More information about the Python-list mailing list