Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias If CompareGtE SubscriptLoad AttributeLoad NameLoad attr Index Num Str body Import alias Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str TupleLoad NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad orelse Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Import alias If CompareGtE AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr orelse FunctionDef arguments args NameParam defaults body Return BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list Assign SubscriptStore NameLoad Index Str NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Expr Str If CompareEq NameLoad Str body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq Call NameLoad NameLoad Num body Return NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Str If CompareIs NameLoad NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore SubscriptLoad NameLoad Index Num For NameStore SubscriptLoad NameLoad Slice Num body TryExcept body If UnaryOpNot NameLoad body Raise NameLoad AugAssignAdd NameStore Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num If UnaryOpNot NameLoad body Continue handlers ExceptHandler type NameLoad body Assign NameStore BinOpAdd Str NameLoad AugAssignAdd NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Str If NameLoad body AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareGtE SubscriptLoad AttributeLoad NameLoad attr Index Num Str body If CompareEq NameLoad Str body Return NameLoad orelse If CompareEq NameLoad Str body Return NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad If CompareEq NameLoad Str body If AttributeLoad NameLoad attr body AugAssignAdd NameStore Str orelse AugAssignAdd NameStore Str Return NameLoad handlers ExceptHandler body Return Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body If CompareGtE SubscriptLoad AttributeLoad NameLoad attr Index Num Str body Import alias Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Import alias Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr If CompareLtE Call NameLoad NameLoad NameLoad body Return NameLoad Return BinOpAdd SubscriptLoad NameLoad Slice Num NameLoad Str decorator_list Assign NameStore TupleLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body Return ListLoad Return ListLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg body Assign AttributeStore NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameStore ListLoad AugAssignAdd NameStore ListLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Dict If CompareIsNot NameLoad NameLoad body AugAssignBitOr NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Num SubscriptStore NameLoad Index Num SubscriptStore AttributeLoad NameLoad attr Index NameLoad ListLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body AugAssignBitOr NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index Num NameLoad Assign SubscriptStore NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num While CompareIsNot NameLoad NameLoad body Expr Yield SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num While CompareIsNot NameLoad NameLoad body Expr Yield SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore IfExp NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot NameLoad body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return BoolOpAnd CompareEq Call NameLoad NameLoad Call NameLoad NameLoad CompareEq Call NameLoad NameLoad Call NameLoad NameLoad Return CompareEq Call NameLoad NameLoad Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad orelse If BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Return Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list
N/A N/A 
Python version specific utilities

do not convert 3 to 2
 N/A sys decimal Decimal fractions Fraction collections OrderedDict MutableSet N/A N/A N/A N/A sys version N/A 0 3 N/A N/A builtins N/A N/A N/A builtins __dict__ N/A _STR_8BIT str N/A N/A N/A builtins __dict__ N/A _STR_BASE str N/A N/A N/A builtins __dict__ N/A _STR_UNICODE str N/A N/A N/A builtins __dict__ N/A _INT int N/A N/A N/A builtins __dict__ N/A _INT_TYPES int N/A N/A N/A builtins __dict__ N/A _NUM_TYPES N/A int float Decimal Fraction N/A N/A N/A builtins __dict__ N/A _STR_NUM_TYPES N/A str int float Decimal Fraction N/A N/A N/A builtins __dict__ N/A _RANGE range noop N/A N/A x N/A N/A N/A x N/A N/A N/A N/A builtins __dict__ N/A _DICT_SET noop N/A N/A N/A __builtins__ N/A _STR_8BIT str N/A N/A __builtins__ N/A _STR_BASE basestring N/A N/A __builtins__ N/A _STR_UNICODE unicode N/A N/A __builtins__ N/A _INT long N/A N/A __builtins__ N/A _INT_TYPES N/A int long N/A N/A __builtins__ N/A _NUM_TYPES N/A int long float Decimal Fraction N/A N/A __builtins__ N/A _STR_NUM_TYPES N/A basestring int long float Decimal Fraction N/A N/A __builtins__ N/A _RANGE xrange N/A N/A __builtins__ N/A _DICT_SET set N/A math N/A N/A N/A sys version 3.2 N/A N/A N/A __builtins__ N/A _ISFINITE N/A math isfinite N/A simulatedIsFinite N/A N/A num N/A N/A N/A N/A N/A N/A N/A math isinf num N/A N/A N/A math isnan num N/A N/A N/A __builtins__ N/A _ISFINITE simulatedIsFinite py3unquote N/A N/A string encoding errors N/A utf-8 replace N/A N/A Replace %xx escapes by their single-character equivalent. The optional
    encoding and errors parameters specify how to decode percent-encoded
    sequences into Unicode characters, as accepted by the bytes.decode()
    method.
    By default, percent-encoded sequences are decoded with UTF-8, and invalid
    sequences are replaced by a placeholder character.

    unquote('abc%20def') -> 'abc def'.
     N/A N/A string N/A N/A string N/A res N/A N/A string split % N/A N/A N/A len res 1 N/A N/A string N/A N/A encoding None N/A N/A encoding utf-8 N/A N/A errors None N/A N/A errors replace N/A pct_sequence N/A string N/A res N/A 0 N/A item N/A res N/A 1 N/A N/A N/A N/A N/A item N/A N/A ValueError N/A pct_sequence N/A _STR_8BIT N/A N/A bytearray fromhex N/A item N/A 2 N/A rest N/A item N/A 2 N/A N/A rest N/A N/A N/A N/A N/A ValueError N/A N/A rest N/A % item N/A string N/A N/A N/A pct_sequence decode encoding errors rest N/A pct_sequence N/A pct_sequence N/A N/A string N/A N/A pct_sequence decode encoding errors N/A string N/A pyTypeName N/A N/A object N/A N/A N/A N/A N/A objectClass N/A object __class__ N/A classModule N/A objectClass __module__ N/A className N/A objectClass __name__ N/A N/A N/A N/A sys version N/A 0 3 N/A N/A N/A classModule builtins N/A N/A className N/A N/A N/A classModule __builtin__ N/A N/A className N/A fullname N/A N/A classModule . className N/A N/A fullname arelle.ModelValue.DateTime N/A N/A N/A object dateOnly N/A N/A fullname -dateOnly N/A N/A fullname -dateTime N/A fullname N/A N/A N/A N/A N/A str N/A type object N/A pyNamedObject N/A N/A name N/A N/A N/A N/A N/A N/A N/A N/A sys version N/A 0 3 N/A N/A builtins N/A N/A N/A builtins __dict__ N/A name N/A N/A __builtin__ N/A N/A N/A __builtin__ __dict__ N/A name N/A N/A N/A N/A None N/A strTruncate N/A N/A value length N/A N/A N/A _s N/A N/A N/A str value strip N/A N/A N/A len _s length N/A N/A _s N/A N/A N/A _s N/A 0 length ... N/A N/A SEQUENCE_TYPES N/A tuple list set flattenSequence N/A N/A x sequence N/A None N/A N/A N/A sequence None N/A N/A N/A N/A isinstance x SEQUENCE_TYPES N/A N/A N/A x None N/A N/A N/A N/A N/A x N/A sequence N/A N/A el x N/A N/A N/A isinstance el SEQUENCE_TYPES N/A N/A N/A flattenSequence el sequence N/A N/A N/A N/A sequence append el N/A sequence N/A attrdict N/A dict N/A N/A  utility to simulate an object with named fields from a dict  __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A dict __init__ self args kwargs N/A N/A self __dict__ self N/A N/A OrderedDefaultDict N/A OrderedDict N/A N/A  call with default factory and optional sorted initial entries
        e.g., OrderedDefaultDict(list, ((1,11),(2,22),...))
     __init__ N/A N/A self N/A args N/A N/A N/A self default_factory None N/A N/A N/A len args 0 N/A N/A N/A self default_factory N/A args N/A 0 N/A N/A N/A len args 1 N/A N/A N/A N/A N/A super OrderedDefaultDict self __init__ N/A args N/A 1 N/A N/A N/A N/A N/A super OrderedDefaultDict self __init__ N/A __missing__ N/A N/A self key N/A N/A N/A N/A N/A self default_factory None N/A N/A N/A KeyError key N/A _missingValue N/A N/A self default_factory N/A N/A self N/A key _missingValue N/A _missingValue N/A N/A OrderedSet N/A MutableSet N/A __init__ N/A N/A self iterable N/A None N/A N/A N/A self end end N/A N/A end N/A None end end N/A N/A self map N/A N/A N/A iterable None N/A N/A self iterable N/A __len__ N/A N/A self N/A N/A N/A N/A len N/A self map N/A __contains__ N/A N/A self key N/A N/A N/A N/A key N/A self map N/A add N/A N/A self key N/A N/A N/A N/A key N/A self map N/A N/A end N/A self end N/A curr N/A end N/A 1 N/A N/A curr N/A 2 N/A end N/A 1 N/A N/A self map N/A key N/A key curr end N/A update N/A N/A self other N/A N/A N/A s other N/A discard N/A N/A self key N/A N/A N/A N/A key N/A self map N/A N/A N/A key prev next N/A N/A N/A self map pop key N/A N/A prev N/A 2 next N/A N/A next N/A 1 prev N/A __iter__ N/A N/A self N/A N/A N/A end N/A self end N/A curr N/A end N/A 2 N/A N/A curr end N/A N/A N/A N/A curr N/A 0 N/A curr N/A curr N/A 2 N/A __reversed__ N/A N/A self N/A N/A N/A end N/A self end N/A curr N/A end N/A 1 N/A N/A curr end N/A N/A N/A N/A curr N/A 0 N/A curr N/A curr N/A 1 N/A pop N/A N/A self last N/A True N/A N/A N/A self N/A N/A N/A KeyError set is empty N/A key N/A last N/A N/A N/A self end N/A 1 N/A 0 N/A N/A N/A self end N/A 2 N/A 0 N/A N/A N/A self discard key N/A key N/A __repr__ N/A N/A self N/A N/A N/A N/A self N/A N/A N/A %s() N/A N/A N/A self __class__ __name__ N/A N/A %s(%r) N/A N/A N/A self __class__ __name__ N/A list self N/A __eq__ N/A N/A self other N/A N/A N/A N/A isinstance other OrderedSet N/A N/A N/A N/A N/A len self N/A len other N/A N/A list self N/A list other N/A N/A N/A set self N/A set other N/A N/A Fraction N/A N/A numerator denominator N/A None N/A N/A N/A denominator None N/A N/A N/A isinstance numerator N/A Fraction _STR_UNICODE Decimal N/A N/A N/A Fraction numerator N/A N/A N/A N/A isinstance numerator Decimal N/A isinstance denominator Decimal N/A N/A N/A Fraction N/A int numerator N/A int denominator N/A N/A Fraction numerator denominator N/A