Commit 2111318b authored by Stefan Behnel's avatar Stefan Behnel

minor cleanup: py2_import option is only useful in Py3 source mode

parent bd3da3c1
# cython: language_level = 2, py2_import=True # cython: language_level = 2
# #
# Code output module # Code output module
# #
......
...@@ -96,7 +96,7 @@ directive_defaults = { ...@@ -96,7 +96,7 @@ directive_defaults = {
'autotestdict.all': False, 'autotestdict.all': False,
'language_level': 2, 'language_level': 2,
'fast_getattr': False, # Undocumented until we come up with a better way to handle this everywhere. 'fast_getattr': False, # Undocumented until we come up with a better way to handle this everywhere.
'py2_import': False, # For backward compatibility of Cython's source code 'py2_import': False, # For backward compatibility of Cython's source code in Py3 source mode
'warn': None, 'warn': None,
'warn.undeclared': False, 'warn.undeclared': False,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment