__init__.py 631 B

123456789101112131415161718192021222324
  1. # Copyright (c) Twisted Matrix Laboratories.
  2. # See LICENSE for details.
  3. """
  4. Twisted Pair: The framework of your ethernet.
  5. Low-level networking transports and utilities.
  6. See also twisted.protocols.ethernet, twisted.protocols.ip,
  7. twisted.protocols.raw and twisted.protocols.rawudp.
  8. Maintainer: Tommi Virtanen
  9. """
  10. from incremental import Version
  11. from twisted.python.deprecate import deprecatedModuleAttribute
  12. from twisted._version import __version__ as version
  13. __version__ = version.short()
  14. deprecatedModuleAttribute(
  15. Version("Twisted", 16, 0, 0),
  16. "Use twisted.__version__ instead.",
  17. "twisted.pair", "__version__")