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.

constants.py 544B

123456789101112131415161718
  1. # -*- test-case-name: twisted.python.test.test_constants -*-
  2. # Copyright (c) Twisted Matrix Laboratories.
  3. # See LICENSE for details.
  4. """
  5. Symbolic constant support, including collections and constants with text,
  6. numeric, and bit flag values.
  7. """
  8. from __future__ import division, absolute_import
  9. # Import and re-export Constantly
  10. from constantly import (NamedConstant, ValueConstant, FlagConstant, Names,
  11. Values, Flags)
  12. __all__ = [
  13. 'NamedConstant', 'ValueConstant', 'FlagConstant',
  14. 'Names', 'Values', 'Flags']