Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
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.

compat.py 279B

1 year ago
123456789
  1. """Compatibility with Python 2 (taken from 'django.utils.six')"""
  2. def with_metaclass(meta, *bases):
  3. class metaclass(type):
  4. def __new__(cls, name, this_bases, d):
  5. return meta(name, bases, d)
  6. return type.__new__(metaclass, "temporary_class", (), {})