m2m模型翻译
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
516 B

6 months ago
  1. from __future__ import print_function, unicode_literals, absolute_import
  2. import sys
  3. success = False
  4. in_ironpython = "IronPython" in sys.version
  5. from . import winconstants
  6. if in_ironpython:
  7. try:
  8. from .ironpython_keysyms import *
  9. success = True
  10. except ImportError as x:
  11. raise
  12. else:
  13. try:
  14. from .keysyms import *
  15. success = True
  16. except ImportError as x:
  17. pass
  18. if not success:
  19. raise ImportError("Could not import keysym for local pythonversion", x)