Ejemplo n.º 1
0
class ExampleLineType(IntEnum):
    """
    Labels for lines in the example section of a docstring

    Attributes
    ----------
    INPUT : int
        Inputs found in examples (>>> or ...)
    OUTPUT : int
        Outputs of examples
    TEXT : int
        Anything before inputs that is not part of the output of a previous example
    OUTPUT_LANG : int
        Special placeholder of this library that tells us
        how to represent outputs (as markdown, python code, raw code, ...)
    """
    INPUT = enumauto()
    OUTPUT = enumauto()
    TEXT = enumauto()
    OUTPUT_LANG = enumauto()
Ejemplo n.º 2
0
class SortMethods(Enum):
	SORT_AZ = enumauto()
	SORT_ZA = enumauto()
	SORT_19 = enumauto()
	SORT_91 = enumauto()
	SORT_TF = enumauto()
	SORT_FT = enumauto()
class LogType(Enum):
    SINGLE = enumauto()
    MULTIPLE = enumauto()
Ejemplo n.º 4
0
class wflags(Flag):
    NONE = 0
    DISABLED = enumauto()
Ejemplo n.º 5
0
class myagents(Flag):
    NONE = 0
    app = enumauto()
    user = enumauto()
Ejemplo n.º 6
0
class BuiltinSortProps(Enum):
	INTRINSIC = enumauto()
	TITLE = enumauto()
	SIZE = enumauto()
	RESOLUTION = enumauto()