Module Expr Str Import alias Import alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameStore Num Assign NameStore Str For NameStore NameLoad body If BoolOpAnd CompareLtE Str NameLoad CompareLtE NameLoad Str body AugAssignAdd NameStore Num Assign NameStore BinOpAdd BinOpMult NameLoad Num BinOpSub Call NameLoad NameLoad Num If CompareEq NameLoad Num body AugAssignAdd NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore NameStore Num orelse If CompareEq NameLoad Str body Assert CompareEq NameLoad Num AugAssignAdd NameStore Str orelse If CompareEq NameLoad Str body If NameLoad body For NameStore Call NameLoad BinOpSub Num NameLoad body Assign NameStore BinOpAdd BinOpMult NameLoad Num Num AugAssignAdd NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str NameLoad Slice BinOpSub NameLoad Num Break Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Lambda arguments args NameParam defaults Call NameLoad Call NameLoad NameLoad Num Assign NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr Num Return Call AttributeLoad Str attr NameLoad decorator_list If CompareEq NameLoad Str body Import alias Expr Call AttributeLoad NameLoad attr
N/A N/A  Python implementation of ASCII85/ASCIIHex decoder (Adobe version).

This code is in the public domain.

 N/A re N/A struct ascii85decode N/A N/A data N/A N/A N/A 
    In ASCII85 encoding, every four bytes are encoded with five ASCII
    letters, using 85 different types of characters (as 256**4 < 85**5).
    When the length of the original bytes is not a multiple of 4, a special
    rule is used for round up.
    
    The Adobe's ASCII85 implementation is slightly different from
    its original in handling the last characters.
    
    The sample string is taken from:
      http://en.wikipedia.org/w/index.php?title=Ascii85
    
    >>> ascii85decode('9jqo^BlbD-BleB1DJ+*+F(f,q')
    'Man is distinguished'
    >>> ascii85decode('E,9)oF*2M7/c~>')
    'pleasure.'
     N/A n b 0 N/A out N/A c data N/A N/A N/A N/A ! c N/A c u N/A N/A n 1 N/A b N/A N/A b 85 N/A N/A ord c 33 N/A N/A n 5 N/A N/A out N/A N/A struct pack >L b N/A n b 0 N/A N/A N/A c z N/A N/A N/A n 0 N/A out N/A N/A N/A c ~ N/A N/A n N/A N/A _ N/A range N/A 5 n N/A N/A b N/A N/A b 85 84 N/A out N/A N/A N/A struct pack >L b N/A N/A n 1 N/A N/A out N/A N/A hex_re N/A N/A re compile ([a-f\d]{2}) N/A re IGNORECASE N/A trail_re N/A N/A re compile ^(?:[a-f\d]{2}|\s)*([a-f\d])[\s>]*$ N/A re IGNORECASE asciihexdecode N/A N/A data N/A N/A N/A 
    ASCIIHexDecode filter: PDFReference v1.4 section 3.3.1
    For each pair of ASCII hexadecimal digits (0-9 and A-F or a-f), the
    ASCIIHexDecode filter produces one byte of binary data. All white-space
    characters are ignored. A right angle bracket character (>) indicates
    EOD. Any other characters will cause an error. If the filter encounters
    the EOD marker after reading an odd number of hexadecimal digits, it
    will behave as if a 0 followed the last digit.
    
    >>> asciihexdecode('61 62 2e6364   65')
    'ab.cde'
    >>> asciihexdecode('61 62 2e6364   657>')
    'ab.cdep'
    >>> asciihexdecode('7>')
    'p'
     N/A decode N/A N/A N/A hx N/A N/A chr N/A int hx 16 N/A out N/A map decode N/A N/A hex_re findall data N/A m N/A N/A trail_re search data N/A m N/A N/A N/A N/A out append N/A decode N/A %c0 N/A N/A m group 1 N/A N/A N/A join out N/A N/A N/A __name__ __main__ N/A N/A doctest N/A N/A N/A doctest testmod