[issue19229] operator.py: move the Python implementation in the else block of try/except ImportError

Antoine Pitrou report at bugs.python.org
Tue Oct 29 15:22:23 CET 2013


Antoine Pitrou added the comment:

Why not:


try:
    from _operator import *
except ImportError:
    from _pyoperator import *

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19229>
_______________________________________


More information about the Python-bugs-list mailing list