Module Import alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str TryExcept body Import alias Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Lambda arguments args NameParam defaults NameLoad Assign NameStore Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Str Assign NameStore ListLoad Str Str Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults Str body Print AttributeLoad NameLoad attr BinOpMod NameLoad Call NameLoad If NameLoad body Print AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Global identifier decorator_list Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Dict Str Dict Dict decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq Call NameLoad NameLoad Num body Assign NameStore BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str orelse If UnaryOpNot SubscriptLoad NameLoad Index Num body Delete SubscriptDel NameLoad Index Num Assign SubscriptStore NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore Str Assign NameStore BinOpAdd BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return CompareIn Num ListComp CompareIn NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad Call NameLoad attr Str body Global identifier Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad comprehension NameStore NameLoad CompareIn SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Num If CompareGt Call NameLoad NameLoad Num body TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad If CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num ListLoad NameLoad orelse Assign NameStore NameLoad orelse TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr If CompareNotIn SubscriptLoad NameLoad Index Num ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return NameLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Return ListLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Return NameLoad orelse If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return ListLoad NameLoad Return ListLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body If CompareEq NameLoad AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Print AttributeLoad NameLoad attr BinOpMod Str Dict Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword Num Assign AttributeStore NameLoad attr Num orelse If CompareNotIn NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Return If BoolOpAnd CompareEq NameLoad AttributeLoad NameLoad attr CompareIn NameLoad TupleLoad Str Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return If BoolOpAnd CompareEq NameLoad AttributeLoad NameLoad attr CompareIn NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If BoolOpAnd CompareEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareEq NameLoad AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Print AttributeLoad NameLoad attr BinOpMod Str Dict Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse If CompareNotIn NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If BoolOpAnd CompareEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad Str body Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If BoolOpAnd CompareEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad Str body If SubscriptLoad AttributeLoad NameLoad attr Index Num body TryExcept body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad name NameStore body Print AttributeLoad NameLoad attr BinOpMod Str Dict Str Str Str SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return If BoolOpOr CompareEq Call NameLoad NameLoad NameLoad CompareEq Call NameLoad NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Print AttributeLoad NameLoad attr BinOpMod Str Dict Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse If BoolOpAnd CompareEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad Str body TryExcept body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad name NameStore body Print AttributeLoad NameLoad attr BinOpMod Str Dict Str Str Str SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return If BoolOpOr CompareEq Call NameLoad NameLoad NameLoad CompareEq Call NameLoad NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Print AttributeLoad NameLoad attr BinOpMod Str Dict Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If BoolOpAnd CompareEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad Str body Print AttributeLoad NameLoad attr BinOpMod Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse If BoolOpAnd CompareEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad Str body TryExcept body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad name NameStore body Print AttributeLoad NameLoad attr BinOpMod Str Dict Str Str Str SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num If BoolOpOr CompareEq Call NameLoad NameLoad NameLoad CompareEq Call NameLoad NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Print AttributeLoad NameLoad attr BinOpMod Str Dict Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Num body Assign NameStore Num If CompareGt Call NameLoad NameLoad Num body Assign NameStore Num If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num If CompareIn SubscriptLoad NameLoad Index Num AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Num If NameLoad body If CompareNotIn SubscriptLoad NameLoad Index Num AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Num If UnaryOpNot NameLoad body Assign NameStore TupleLoad AttributeLoad NameLoad attr NameLoad Assign SubscriptStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad NameLoad Slice Num Num Dict Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Print NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Pass orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body For TupleStore NameStore NameStore NameLoad body Assign NameStore Dict Str Str NameLoad NameLoad Print NameLoad BinOpMod Str NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Str For TupleStore NameStore NameStore NameLoad body Assign NameStore Dict Str Str NameLoad NameLoad Assign NameStore BinOpMod Str NameLoad If CompareLtE BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpAdd NameLoad NameLoad orelse Print NameLoad NameLoad Assign NameStore BinOpAdd Str NameLoad If CompareGt Call NameLoad NameLoad Num body Print NameLoad NameLoad If NameLoad body Print NameLoad Str Print NameLoad Str Call NameLoad SubscriptLoad NameLoad Index Num If CompareGt Call NameLoad NameLoad Num body Print NameLoad Str Call NameLoad SubscriptLoad NameLoad Index Num Print NameLoad Str Print NameLoad Str orelse Print NameLoad Str decorator_list decorator_list FunctionDef arguments args defaults body Global identifier TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Str ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad Num NameLoad ClassDef bases body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore ListLoad Str Str Assign NameStore Str Assign NameStore Str Assign NameStore Num Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Str Assign NameStore Num Assign NameStore Dict decorator_list Assign NameStore Call NameLoad Assign NameStore Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str For TupleStore NameStore NameStore NameLoad body If CompareIn NameLoad TupleLoad Str Str body Expr Call NameLoad Num orelse If CompareIn NameLoad TupleLoad Str Str body Assign AttributeStore NameLoad attr Num orelse If CompareIn NameLoad TupleLoad Str Str body Assign AttributeStore NameLoad attr BinOpAdd NameLoad Str orelse If CompareIn NameLoad TupleLoad Str Str body Assign AttributeStore NameLoad attr Num orelse If CompareIn NameLoad TupleLoad Str Str body Assign AttributeStore NameLoad attr Num orelse If CompareIn NameLoad TupleLoad Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If CompareIn NameLoad TupleLoad Str Str body Assign NameStore ListLoad orelse If CompareIn NameLoad TupleLoad Str Str body Assign AttributeStore NameLoad attr Num orelse If CompareIn NameLoad TupleLoad Str body Assign AttributeStore NameLoad attr Num orelse If CompareIn NameLoad TupleLoad Str Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Num BinOpMod Str NameLoad orelse If CompareIn NameLoad TupleLoad Str Str body Assign AttributeStore NameLoad attr NameLoad orelse If CompareIn NameLoad TupleLoad Str Str body Assign AttributeStore NameLoad attr NameLoad orelse If CompareIn NameLoad TupleLoad Str Str body Assign AttributeStore NameLoad attr Num orelse If CompareIn NameLoad TupleLoad Str Str body Print BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Num orelse If CompareIn NameLoad TupleLoad Str Str body TryExcept body Assign AttributeStore NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call NameLoad Num BinOpMod Str NameLoad orelse If CompareIn NameLoad TupleLoad Str Str body Assign AttributeStore NameLoad attr NameLoad orelse If CompareIn NameLoad TupleLoad Str Str body Assign NameStore Call NameLoad NameLoad TryFinally body While Num body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Break Assign SubscriptStore AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Slice Num Num finalbody Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Print AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num orelse Assign AttributeStore NameLoad attr ListLoad Assign NameStore ListLoad For NameStore NameLoad body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body If CompareEq NameLoad Str body If AttributeLoad NameLoad attr body Print Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num orelse If AttributeLoad NameLoad attr body Print BinOpMod Str NameLoad If Call AttributeLoad NameLoad attr Str body ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Num TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Print AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num SubscriptLoad SubscriptLoad NameLoad Index Num Index Num finalbody If NameLoad body Expr Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num orelse If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Pass Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Num TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad finalbody If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Global identifier Import alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BoolOpOr NameLoad Dict Assign NameStore BoolOpOr NameLoad Dict Assign NameStore ListLoad Str Str Str ClassDef bases body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore Num Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Str Assign NameStore Num Assign NameStore Dict Assign NameStore ListLoad decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call NameLoad NameLoad NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad For NameStore NameLoad body If AttributeLoad NameLoad attr body Print BinOpMod Str NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Continue If Call AttributeLoad NameLoad attr Str body ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Num orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Num TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Print AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num SubscriptLoad SubscriptLoad NameLoad Index Num Index Num finalbody If NameLoad body Expr Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num orelse If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Pass Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Num TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad finalbody If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A sys N/A N/A N/A N/A sys path insert 0 .. N/A N/A N/A fintl N/A _ N/A fintl gettext N/A N/A N/A ImportError N/A N/A _ N/A N/A N/A s N/A s N/A __doc__ pygettext -- Python equivalent of xgettext(1)

Many systems (Solaris, Linux, Gnu) provide extensive tools that ease the
internationalization of C programs. Most of these tools are independent of
the programming language and can be used from within Python programs.
Martin von Loewis' work[1] helps considerably in this regard.

There's one problem though; xgettext is the program that scans source code
looking for message strings, but it groks only C (or C++). Python
introduces a few wrinkles, such as dual quoting characters, triple quoted
strings, and raw strings. xgettext understands none of this.

Enter pygettext, which uses Python's standard tokenize module to scan
Python source code, generating .pot files identical to what GNU xgettext[2]
generates for C and C++ code. From there, the standard GNU tools can be
used.

A word about marking Python strings as candidates for translation. GNU
xgettext recognizes the following keywords: gettext, dgettext, dcgettext,
and gettext_noop. But those can be a lot of text to include all over your
code. C and C++ have a trick: they use the C preprocessor. Most
internationalized C source includes a #define for gettext() to _() so that
what has to be written in the source is much less. Thus these are both
translatable strings:

    gettext("Translatable String")
    _("Translatable String")

Python of course has no preprocessor so this doesn't work so well.  Thus,
pygettext searches only for _() by default, but see the -k/--keyword flag
below for how to augment this.

 [1] http://www.python.org/workshops/1997-10/proceedings/loewis.html
 [2] http://www.gnu.org/software/gettext/gettext.html

NOTE: pygettext attempts to be option and feature compatible with GNU
xgettext where ever possible. However some options are still missing or are
not fully implemented. Also, xgettext's use of command line switches with
option arguments is broken, and in these cases, pygettext just defines
additional switches.

Usage: pygettext [options] inputfile ...

Options:

    -a
    --extract-all
        Extract all strings.

    -d name
    --default-domain=name
        Rename the default output file from messages.pot to name.pot.

    -E
    --escape
        Replace non-ASCII characters with octal escape sequences.

    -D
    --docstrings
        Extract module, class, method, and function docstrings.  These do
        not need to be wrapped in _() markers, and in fact cannot be for
        Python to consider them docstrings. (See also the -X option).

    -h
    --help
        Print this help message and exit.

    -k word
    --keyword=word
        Keywords to look for in addition to the default set, which are:
        %(DEFAULTKEYWORDS)s

        You can have multiple -k flags on the command line.

    -K
    --no-default-keywords
        Disable the default set of keywords (see above).  Any keywords
        explicitly added with the -k/--keyword option are still recognized.

    --no-location
        Do not write filename/lineno location comments.

    -n
    --add-location
        Write filename/lineno location comments indicating where each
        extracted string is found in the source.  These lines appear before
        each msgid.  The style of comments is controlled by the -S/--style
        option.  This is the default.

    -o filename
    --output=filename
        Rename the default output file from messages.pot to filename.  If
        filename is `-' then the output is sent to standard out.

    -p dir
    --output-dir=dir
        Output files will be placed in directory dir.

    -S stylename
    --style stylename
        Specify which style to use for location comments.  Two styles are
        supported:

        Solaris  # File: filename, line: line-number
        GNU      #: filename:line

        The style name is case insensitive.  GNU style is the default.

    -v
    --verbose
        Print the names of the files being processed.

    -V
    --version
        Print the version of pygettext and exit.

    -w columns
    --width=columns
        Set width of output to columns.

    -x filename
    --exclude-file=filename
        Specify a file that contains a list of strings that are not be
        extracted from the input files.  Each string to be excluded must
        appear on a line by itself in the file.

    -X filename
    --no-docstrings=filename
        Specify a file that contains a list of files (one per line) that
        should not have their docstrings extracted.  This is only useful in
        conjunction with the -D option above.

If `inputfile' is -, standard input is read.
 N/A os N/A imp N/A sys N/A glob N/A time N/A getopt N/A token N/A tokenize N/A __version__ 1.6 N/A default_keywords N/A _ ngettext N/A DEFAULTKEYWORDS N/A N/A ,  join default_keywords N/A EMPTYSTRING N/A pot_header # SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR ORGANIZATION
# {First_Author}, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: {Project_Id_Version}\n"
"POT-Creation-Date: {time}\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: {Last_Translator}\n"
"Language-Team: {Language_Team}\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset={Content_Type_Charset}\n"
"Content-Transfer-Encoding: {Content_Transfer_Encoding}\n"
"Plural-Forms: {Plural_Forms}\n"
"Generated-By: pygettext.py {version}\n"

 usage N/A N/A code msg N/A N/A N/A N/A sys stderr N/A __doc__ N/A globals N/A msg N/A N/A N/A sys stderr msg N/A N/A N/A sys exit code N/A N/A escapes N/A make_escapes N/A N/A pass_iso8859 N/A N/A N/A escapes N/A N/A __escapes__ N/A N/A N/A __escapes__ N/A \ \\ N/A N/A __escapes__ N/A \t N/A N/A __escapes__ N/A \r N/A N/A __escapes__ N/A \n N/A N/A __escapes__ N/A " \" escape N/A N/A s N/A N/A N/A N/A isinstance s unicode N/A N/A s N/A N/A s encode utf-8 N/A s N/A list s N/A i N/A range N/A len s N/A N/A N/A s N/A i N/A N/A __escapes__ get N/A s N/A i N/A s N/A i N/A N/A N/A EMPTYSTRING join s N/A safe_eval N/A N/A s N/A N/A N/A N/A eval s N/A __builtins__ N/A N/A N/A normalize N/A N/A s N/A N/A N/A lines N/A N/A s split N/A N/A N/A len lines 1 N/A N/A s N/A N/A " N/A escape s " N/A N/A N/A N/A lines N/A -1 N/A N/A N/A lines N/A -1 N/A N/A lines N/A -1 N/A N/A lines N/A -1 N/A i N/A range N/A len lines N/A N/A N/A lines N/A i N/A escape N/A lines N/A i N/A lineterm \n"
" N/A s N/A N/A ""
" N/A N/A lineterm join lines " N/A s N/A containsAny N/A N/A str set N/A N/A N/A Check whether 'str' contains ANY of the chars in 'set' N/A N/A 1 N/A N/A c str N/A c set N/A _visit_pyfiles N/A N/A list dirname names N/A N/A N/A Helper for getFilesForName(). N/A N/A N/A N/A N/A globals has_key _py_ext N/A N/A _py_ext N/A _py_ext N/A N/A triple N/A 0 N/A triple N/A N/A imp get_suffixes N/A N/A triple N/A 2 N/A imp PY_SOURCE N/A N/A CVS names N/A N/A N/A N/A names remove CVS N/A N/A .svn names N/A N/A N/A N/A names remove .svn N/A N/A .git names N/A N/A N/A N/A names remove .git N/A N/A static names N/A N/A N/A N/A names remove static N/A N/A N/A list extend N/A N/A N/A N/A os path join dirname file N/A file names N/A N/A N/A N/A N/A os path splitext file N/A 1 _py_ext N/A _get_modpkg_path N/A N/A dotted_name pathlist N/A None N/A N/A Get the filesystem path for a module or a package.

    Return the file system path to a file for a module, and to a directory for
    a package. Return None if the name is not found, or is a builtin or
    extension module.
     N/A parts N/A N/A dotted_name split . 1 N/A N/A N/A len parts 1 N/A N/A N/A N/A N/A file pathname description N/A N/A imp find_module N/A parts N/A 0 pathlist N/A file N/A N/A N/A N/A file close N/A N/A N/A ImportError N/A N/A None N/A N/A N/A description N/A 2 N/A imp PKG_DIRECTORY N/A N/A pathname N/A _get_modpkg_path N/A parts N/A 1 N/A pathname N/A N/A pathname None N/A N/A N/A N/A N/A file pathname description N/A N/A imp find_module dotted_name pathlist N/A file N/A N/A N/A N/A file close N/A N/A N/A description N/A 2 N/A N/A imp PY_SOURCE N/A imp PKG_DIRECTORY N/A N/A pathname None N/A N/A N/A ImportError N/A N/A pathname None N/A pathname N/A getFilesForName N/A N/A name N/A N/A N/A Get a list of module files for a filename, a module or package name,
    or a directory.
     N/A N/A N/A N/A N/A os path exists name N/A N/A N/A containsAny name *?[] N/A N/A files N/A N/A glob glob name N/A list N/A N/A file files N/A N/A N/A N/A list extend N/A getFilesForName file N/A list N/A name N/A _get_modpkg_path name N/A N/A name N/A N/A N/A N/A N/A N/A N/A os path isdir name N/A N/A list N/A N/A N/A N/A N/A os path walk name _visit_pyfiles list N/A list N/A N/A N/A N/A N/A os path exists name N/A N/A N/A name N/A N/A N/A TokenEater N/A N/A __init__ N/A N/A self options vars N/A None N/A N/A N/A self __options options N/A N/A self __messages N/A N/A N/A self __state N/A self __waiting N/A N/A self __args N/A N/A N/A self __lineno -1 N/A N/A self __freshmodule 1 N/A N/A self __curfile None N/A N/A self __vars vars N/A __call__ N/A N/A self ttype tstring stup etup line N/A N/A N/A N/A N/A self __state ttype tstring N/A stup N/A 0 N/A __waiting N/A N/A self ttype tstring lineno N/A N/A N/A opts N/A self __options N/A N/A N/A opts docstrings N/A N/A N/A N/A opts nodocstrings get N/A self __curfile N/A N/A N/A self __freshmodule N/A N/A N/A ttype N/A tokenize STRING N/A N/A N/A N/A s N/A safe_eval tstring N/A N/A N/A Exception N/A e N/A N/A N/A sys stderr N/A *** %(file)s:%(lineno)s: could not evaluate argument "%(arg)s" N/A arg file lineno tstring N/A self __curfile N/A self __lineno N/A N/A sys stderr N/A str e N/A N/A N/A N/A self __addentry N/A s lineno isdocstring 1 N/A N/A self __freshmodule 0 N/A N/A N/A ttype N/A N/A tokenize COMMENT N/A tokenize NL N/A N/A N/A self __freshmodule 0 N/A N/A N/A N/A ttype N/A tokenize NAME N/A tstring N/A class def N/A N/A N/A self __state N/A self __suiteseen N/A N/A N/A N/A ttype N/A tokenize NAME N/A tstring N/A opts keywords N/A N/A N/A self __state N/A self __keywordseen N/A __suiteseen N/A N/A self ttype tstring lineno N/A N/A N/A N/A N/A ttype N/A tokenize OP N/A tstring : N/A N/A N/A self __state N/A self __suitedocstring N/A __suitedocstring N/A N/A self ttype tstring lineno N/A N/A N/A N/A ttype N/A tokenize STRING N/A N/A N/A N/A s N/A safe_eval tstring N/A N/A N/A Exception N/A e N/A N/A N/A sys stderr N/A *** %(file)s:%(lineno)s: could not evaluate argument "%(arg)s" N/A arg file lineno tstring N/A self __curfile N/A self __lineno N/A N/A sys stderr N/A str e N/A N/A N/A N/A self __addentry s lineno isdocstring 1 N/A N/A self __state N/A self __waiting N/A N/A N/A ttype N/A N/A tokenize NEWLINE N/A tokenize INDENT N/A tokenize COMMENT N/A N/A N/A self __state N/A self __waiting N/A __keywordseen N/A N/A self ttype tstring lineno N/A N/A N/A N/A N/A ttype N/A tokenize OP N/A tstring ( N/A N/A N/A self __args N/A N/A N/A self __lineno lineno N/A N/A self __depth 0 N/A N/A self __state N/A self __scanstring1 N/A N/A N/A self __state N/A self __waiting N/A __scanstring1 N/A N/A self ttype tstring lineno N/A N/A N/A N/A N/A ttype N/A tokenize OP N/A tstring ) N/A N/A N/A N/A self __args N/A -1 N/A N/A N/A N/A s N/A safe_eval N/A N/A self __args N/A -1 N/A N/A N/A Exception N/A e N/A N/A N/A sys stderr N/A *** %(file)s:%(lineno)s: could not evaluate argument "%(arg)s" N/A arg file lineno N/A N/A self __args N/A -1 N/A self __curfile N/A self __lineno N/A N/A sys stderr N/A str e N/A N/A self __state N/A self __waiting N/A N/A N/A N/A N/A type s str N/A N/A type s unicode N/A N/A N/A N/A self __args N/A -1 s N/A N/A N/A self __addentry N/A self __args N/A N/A N/A sys stderr N/A *** %(file)s:%(lineno)s: argument is no str or unicode object "%(arg)s" N/A arg file lineno s N/A self __curfile N/A self __lineno N/A N/A self __state N/A self __waiting N/A N/A N/A N/A ttype N/A tokenize OP N/A tstring , N/A N/A N/A N/A s N/A safe_eval N/A N/A self __args N/A -1 N/A N/A N/A Exception N/A e N/A N/A N/A sys stderr N/A *** %(file)s:%(lineno)s: could not evaluate argument "%(arg)s" N/A arg file lineno N/A N/A self __args N/A -1 N/A self __curfile N/A self __lineno N/A N/A sys stderr N/A str e N/A N/A self __state N/A self __waiting N/A N/A N/A N/A N/A type s str N/A N/A type s unicode N/A N/A N/A N/A self __args N/A -1 s N/A N/A N/A N/A self __args append N/A N/A self __state N/A self __scanstring2 N/A N/A N/A sys stderr N/A *** %(file)s:%(lineno)s: argument 1 is no str or unicode object "%(arg)s" N/A arg file lineno s N/A self __curfile N/A self __lineno N/A N/A self __state N/A self __waiting N/A N/A N/A N/A self __args N/A -1 tstring N/A __scanstring2 N/A N/A self ttype tstring lineno N/A N/A N/A N/A N/A ttype N/A tokenize OP N/A tstring ) N/A N/A N/A sys stderr N/A *** %(file)s:%(lineno)s: unexpected number of arguments (2)" N/A file lineno N/A self __curfile N/A self __lineno N/A N/A self __state N/A self __waiting N/A N/A N/A N/A ttype N/A tokenize OP N/A tstring , N/A N/A N/A N/A s N/A safe_eval N/A N/A self __args N/A -1 N/A N/A N/A Exception N/A e N/A N/A N/A sys stderr N/A *** %(file)s:%(lineno)s: could not evaluate argument "%(arg)s" N/A arg file lineno N/A N/A self __args N/A -1 N/A self __curfile N/A self __lineno N/A N/A sys stderr N/A str e N/A N/A self __state N/A self __waiting N/A N/A s N/A safe_eval N/A N/A self __args N/A -1 N/A N/A N/A N/A type s str N/A N/A type s unicode N/A N/A N/A N/A self __args N/A -1 s N/A N/A N/A self __addentry N/A self __args N/A N/A self __state N/A self __waiting N/A N/A N/A sys stderr N/A *** %(file)s:%(lineno)s: argument 2 is no str or unicode object "%(arg)s" N/A arg file lineno s N/A self __curfile N/A self __lineno N/A N/A self __state N/A self __waiting N/A N/A N/A N/A self __args N/A -1 tstring N/A __addentry N/A N/A self args lineno isdocstring N/A None 0 N/A N/A isplural 0 N/A N/A N/A len args 1 N/A N/A isplural 1 N/A N/A lineno None N/A N/A lineno N/A self __lineno N/A exclude 0 N/A N/A N/A args N/A 0 N/A N/A self __options toexclude N/A N/A exclude 1 N/A isplural N/A N/A N/A N/A args N/A 1 N/A N/A self __options toexclude N/A N/A exclude 0 N/A N/A exclude N/A N/A entry N/A N/A self __curfile lineno N/A N/A N/A N/A N/A self __messages setdefault N/A tuple N/A args N/A 0 2 N/A N/A entry isdocstring N/A set_filename N/A N/A self filename N/A N/A N/A N/A self __curfile filename N/A N/A self __freshmodule 1 N/A write N/A N/A self fp N/A N/A N/A options N/A self __options N/A timestamp N/A N/A time strftime %Y-%m-%d %H:%M N/A d N/A N/A N/A self __vars copy N/A N/A N/A d update N/A time version timestamp __version__ N/A fp N/A N/A pot_header format d N/A reverse N/A N/A N/A k v N/A N/A N/A self __messages items N/A N/A keys N/A N/A v keys N/A N/A N/A keys sort N/A N/A N/A N/A N/A reverse setdefault N/A tuple keys N/A append N/A k v N/A rkeys N/A N/A reverse keys N/A N/A N/A rkeys sort N/A rkey rkeys N/A N/A rentries N/A reverse N/A rkey N/A N/A N/A rentries sort N/A N/A k v rentries N/A N/A isdocstring N/A sum N/A N/A v values N/A v N/A N/A v keys N/A N/A N/A v sort N/A N/A N/A options writelocations N/A N/A N/A N/A N/A N/A options locationstyle N/A options SOLARIS N/A N/A N/A filename lineno v N/A N/A d N/A filename lineno filename lineno N/A fp N/A # File: %(filename)s, line: %(lineno)d d N/A N/A N/A N/A options locationstyle N/A options GNU N/A N/A locline #: N/A N/A filename lineno v N/A N/A d N/A filename lineno filename lineno N/A s N/A  %(filename)s:%(lineno)d d N/A N/A N/A N/A len locline N/A len s N/A options width N/A N/A locline N/A locline s N/A N/A fp locline N/A locline N/A #: s N/A N/A N/A len locline 2 N/A N/A fp locline N/A isdocstring N/A N/A fp #, docstring N/A fp msgid N/A normalize N/A k N/A 0 N/A N/A N/A len k 1 N/A N/A fp msgid_plural N/A normalize N/A k N/A 1 N/A fp msgstr[0] "" N/A fp msgstr[1] ""
 N/A N/A fp msgstr ""
 N/A N/A main N/A N/A N/A N/A N/A default_keywords N/A N/A N/A N/A opts args N/A N/A getopt getopt N/A N/A sys argv N/A 1 ad:DEhk:Kno:p:S:Vvw:x:X:f: N/A extract-all default-domain= escape help keyword= no-default-keywords add-location no-location output= output-dir= style= verbose version width= exclude-file= docstrings no-docstrings N/A N/A N/A N/A getopt error N/A msg N/A N/A N/A usage 1 msg Options N/A N/A N/A GNU 1 N/A SOLARIS 2 N/A extractall 0 N/A escape 0 N/A keywords N/A ugettext ungettext N/A outpath N/A outfile messages.pot N/A writelocations 1 N/A locationstyle GNU N/A verbose 0 N/A width 78 N/A excludefilename N/A docstrings 0 N/A nodocstrings N/A N/A N/A options N/A Options N/A locations N/A gnu solaris N/A options GNU N/A options SOLARIS N/A files N/A N/A opt arg opts N/A N/A N/A opt N/A -h --help N/A N/A N/A usage 0 N/A N/A N/A opt N/A -a --extract-all N/A N/A N/A options extractall 1 N/A N/A N/A opt N/A -d --default-domain N/A N/A N/A options outfile N/A arg .pot N/A N/A N/A opt N/A -E --escape N/A N/A N/A options escape 1 N/A N/A N/A opt N/A -D --docstrings N/A N/A N/A options docstrings 1 N/A N/A N/A opt N/A -k --keyword N/A N/A N/A N/A N/A options keywords append arg N/A N/A N/A opt N/A -K --no-default-keywords N/A N/A default_keywords N/A N/A N/A N/A opt N/A -n --add-location N/A N/A N/A options writelocations 1 N/A N/A N/A opt N/A --no-location N/A N/A N/A options writelocations 0 N/A N/A N/A opt N/A -S --style N/A N/A N/A options locationstyle N/A N/A locations get N/A N/A arg lower N/A N/A N/A options locationstyle None N/A N/A N/A usage 1 N/A Invalid value for --style: %s arg N/A N/A N/A opt N/A -o --output N/A N/A N/A options outfile arg N/A N/A N/A opt N/A -p --output-dir N/A N/A N/A options outpath arg N/A N/A N/A opt N/A -v --verbose N/A N/A N/A options verbose 1 N/A N/A N/A opt N/A -V --version N/A N/A N/A pygettext.py (xgettext for Python) %s __version__ N/A N/A N/A sys exit 0 N/A N/A N/A opt N/A -w --width N/A N/A N/A N/A N/A options width N/A int arg N/A N/A N/A ValueError N/A N/A N/A usage 1 N/A --width argument must be an integer: %s arg N/A N/A N/A opt N/A -x --exclude-file N/A N/A N/A options excludefilename arg N/A N/A N/A opt N/A -X --no-docstrings N/A N/A fp N/A open arg N/A N/A N/A 1 N/A N/A line N/A N/A fp readline N/A N/A line N/A N/A N/A N/A N/A options nodocstrings N/A N/A line N/A -1 1 N/A N/A N/A N/A fp close N/A N/A N/A opt -f N/A N/A files arg N/A N/A N/A N/A options keywords extend default_keywords N/A N/A options excludefilename N/A N/A N/A N/A fp N/A open N/A options excludefilename N/A N/A options toexclude N/A N/A fp readlines N/A N/A N/A fp close N/A N/A N/A IOError N/A N/A N/A sys stderr N/A Can't read --exclude-file: %s N/A options excludefilename N/A N/A N/A sys exit 1 N/A N/A N/A options toexclude N/A N/A expanded N/A N/A arg args N/A N/A N/A arg - N/A N/A N/A N/A expanded append arg N/A N/A N/A N/A expanded extend N/A getFilesForName arg N/A args expanded N/A files N/A N/A lines N/A N/A N/A open files readlines N/A line lines N/A N/A N/A N/A args append N/A N/A line strip N/A eater N/A TokenEater options N/A filename args N/A N/A N/A filename - N/A N/A N/A options verbose N/A N/A Reading standard input N/A fp N/A sys stdin N/A closep 0 N/A N/A N/A options verbose N/A N/A N/A Working on %s filename N/A N/A N/A filename endswith .html N/A uliweb.core.template template_file_py cStringIO StringIO N/A text N/A template_file_py filename skip_extern True multilines True N/A fp N/A StringIO text N/A N/A fp N/A open filename N/A closep 1 N/A N/A N/A N/A N/A eater set_filename filename N/A N/A N/A N/A N/A tokenize tokenize N/A fp readline eater N/A N/A N/A N/A tokenize TokenError N/A e N/A N/A N/A sys stderr N/A %s: %s, line %d, column %d N/A N/A e N/A 0 filename N/A N/A e N/A 1 N/A 0 N/A N/A e N/A 1 N/A 1 N/A N/A closep N/A N/A N/A N/A fp close N/A N/A N/A options outfile - N/A N/A fp N/A sys stdout N/A closep 0 N/A N/A N/A options outpath N/A N/A N/A options outfile N/A N/A N/A os path join N/A options outpath N/A options outfile N/A path N/A N/A N/A os path dirname N/A options outfile N/A path N/A N/A N/A N/A N/A N/A os path exists path N/A N/A N/A N/A N/A N/A os makedirs path N/A N/A N/A N/A N/A fp N/A open N/A options outfile w N/A closep 1 N/A N/A N/A N/A N/A eater write fp N/A N/A closep N/A N/A N/A N/A fp close N/A extrace_files N/A N/A files outputfile opts vars N/A None None N/A N/A _py_ext N/A logging N/A log N/A N/A logging getLogger pygettext N/A opts N/A opts N/A N/A vars N/A vars N/A N/A _py_ext N/A .py .ini .html Options N/A N/A N/A GNU 1 N/A SOLARIS 2 N/A extractall 0 N/A escape 0 N/A keywords N/A _ gettext ngettext ungettext ugettext N/A outpath N/A outfile outputfile N/A writelocations 1 N/A locationstyle GNU N/A verbose 0 N/A width 78 N/A excludefilename N/A docstrings 0 N/A nodocstrings N/A N/A toexclude N/A N/A N/A options N/A Options N/A N/A N/A N/A options keywords extend default_keywords N/A N/A k v N/A N/A opts items N/A N/A N/A v N/A hasattr options k N/A N/A _v N/A getattr options k N/A N/A isinstance _v list N/A N/A N/A N/A _v extend v N/A N/A N/A isinstance _v dict N/A N/A N/A N/A _v update v N/A N/A N/A setattr options k v N/A N/A N/A isinstance files list N/A N/A files N/A getFilesForName files N/A eater N/A TokenEater options vars vars N/A filename files N/A N/A N/A options verbose N/A N/A N/A Working on %s filename N/A N/A N/A N/A N/A os path exists filename N/A N/A N/A N/A N/A filename endswith .html N/A uliweb.core template cStringIO StringIO uliweb.core.template template_file_py N/A text N/A template_file_py filename skip_extern True log log multilines True N/A fp N/A StringIO text N/A closep 0 N/A N/A fp N/A open filename N/A closep 1 N/A N/A N/A N/A N/A eater set_filename filename N/A N/A N/A N/A N/A tokenize tokenize N/A fp readline eater N/A N/A N/A N/A tokenize TokenError N/A e N/A N/A N/A sys stderr N/A %s: %s, line %d, column %d N/A N/A e N/A 0 filename N/A N/A e N/A 1 N/A 0 N/A N/A e N/A 1 N/A 1 N/A N/A closep N/A N/A N/A N/A fp close N/A N/A N/A options outfile - N/A N/A fp N/A sys stdout N/A closep 0 N/A N/A N/A options outpath N/A N/A N/A options outfile N/A N/A N/A os path join N/A options outpath N/A options outfile N/A path N/A N/A N/A os path dirname N/A options outfile N/A path N/A N/A N/A N/A N/A N/A os path exists path N/A N/A N/A N/A N/A N/A os makedirs path N/A N/A N/A N/A N/A fp N/A open N/A options outfile w N/A closep 1 N/A N/A N/A N/A N/A eater write fp N/A N/A closep N/A N/A N/A N/A fp close N/A N/A N/A __name__ __main__ N/A N/A N/A main