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.

deprecatedattributes.py 505B

1234567891011121314151617181920212223
  1. # Copyright (c) Twisted Matrix Laboratories.
  2. # See LICENSE for details.
  3. """
  4. A module that is deprecated, used by L{twisted.python.test.test_deprecate} for
  5. testing purposes.
  6. """
  7. from incremental import Version
  8. from twisted.python.deprecate import deprecatedModuleAttribute
  9. # Known module-level attributes.
  10. DEPRECATED_ATTRIBUTE = 42
  11. ANOTHER_ATTRIBUTE = "hello"
  12. version = Version("Twisted", 8, 0, 0)
  13. message = "Oh noes!"
  14. deprecatedModuleAttribute(version, message, __name__, "DEPRECATED_ATTRIBUTE")