Module Expr Str Import alias Import alias Import alias Import alias FunctionDef arguments args defaults body TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad NameLoad Return Num If UnaryOpNot NameLoad body Expr Call NameLoad Str Return Num Assign NameStore Num For TupleStore NameStore NameStore NameLoad body If CompareEq NameLoad Str body Print NameLoad Return If CompareEq NameLoad Str body Assign NameStore Num Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore BoolOpOr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Call NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Return Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad For TupleStore NameStore NameStore TupleStore NameStore NameStore NameStore NameStore NameLoad body If CompareIn NameLoad TupleLoad Str Str body If NameLoad body Print NameLoad Break If CompareNotEq NameLoad NameLoad body Assign NameStore NameLoad Print BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Return Num Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If BoolOpOr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam NameParam defaults Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore BoolOpOr NameLoad NameLoad Return NameLoad decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call NameLoad
N/A N/A finddiv - a grep-like tool that looks for division operators.

Usage: finddiv [-l] file_or_directory ...

For directory arguments, all files in the directory whose name ends in
.py are processed, and subdirectories are processed recursively.

This actually tokenizes the files to avoid false hits in comments or
strings literals.

By default, this prints all lines containing a / or /= operator, in
grep -n style.  With the -l option specified, it prints the filename
of files that contain at least one / or /= operator.
 N/A os N/A sys N/A getopt N/A tokenize main N/A N/A N/A N/A 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 lh N/A N/A N/A N/A getopt error N/A msg N/A N/A N/A usage msg N/A 2 N/A N/A args N/A N/A N/A usage at least one file argument is required N/A 2 N/A listnames 0 N/A N/A o a opts N/A N/A N/A o -h N/A N/A __doc__ N/A N/A N/A o -l N/A N/A listnames 1 N/A exit None N/A filename args N/A N/A x N/A process filename listnames N/A exit N/A exit x N/A exit N/A usage N/A N/A msg N/A N/A N/A N/A N/A N/A sys stderr write N/A %s: %s
 N/A N/A N/A sys argv N/A 0 msg N/A N/A N/A N/A sys stderr write N/A Usage: %s [-l] file ...
 N/A N/A sys argv N/A 0 N/A N/A N/A N/A sys stderr write N/A Try `%s -h' for more information.
 N/A N/A sys argv N/A 0 N/A process N/A N/A filename listnames N/A N/A N/A N/A N/A N/A os path isdir filename N/A N/A N/A processdir filename listnames N/A N/A N/A fp N/A open filename N/A N/A N/A IOError N/A msg N/A N/A N/A N/A N/A sys stderr write N/A Can't open: %s
 msg N/A 1 N/A g N/A N/A tokenize generate_tokens N/A fp readline N/A lastrow None N/A N/A type token N/A row col end line g N/A N/A N/A token N/A / /= N/A N/A listnames N/A N/A filename N/A N/A N/A row lastrow N/A N/A lastrow row N/A N/A %s:%d:%s N/A filename row line N/A N/A N/A fp close N/A processdir N/A N/A dir listnames N/A N/A N/A N/A N/A names N/A N/A os listdir dir N/A N/A N/A N/A os error N/A msg N/A N/A N/A N/A N/A sys stderr write N/A Can't list directory: %s
 dir N/A 1 N/A files N/A N/A name names N/A N/A fn N/A N/A N/A os path join dir name N/A N/A N/A N/A N/A N/A N/A os path normcase fn endswith .py N/A N/A N/A os path isdir fn N/A N/A N/A N/A files append fn N/A N/A N/A files sort N/A N/A N/A a b N/A N/A cmp N/A N/A N/A os path normcase a N/A N/A N/A os path normcase b N/A exit None N/A fn files N/A N/A x N/A process fn listnames N/A exit N/A exit x N/A exit N/A N/A N/A __name__ __main__ N/A N/A N/A N/A sys exit N/A main