Module Import alias ImportFrom alias ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assert CompareNotEq Call AttributeLoad NameLoad attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareIs NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareIs NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str keyword Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str keyword Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str keyword Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Assert CompareEq AttributeLoad NameLoad attr Str Assert UnaryOpNot NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq SubscriptLoad NameLoad Index Num Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad Assert CompareEq AttributeLoad NameLoad attr Str Delete AttributeDel NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Num ClassDef bases body Pass decorator_list Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert UnaryOpNot NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Num orelse If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num decorator_list decorator_list
N/A N/A py py.__.test parseopt TestParser N/A N/A test_init N/A N/A self capsys N/A N/A N/A parser N/A N/A parseopt Parser usage xyz N/A N/A N/A N/A py test raises SystemExit parser.parse(["-h"]) N/A N/A out err N/A N/A capsys readouterr N/A N/A N/A N/A out find xyz -1 N/A test_group_add_and_get N/A N/A self N/A N/A N/A parser N/A N/A parseopt Parser N/A group N/A N/A parser addgroup hello description desc N/A N/A N/A group name hello N/A N/A N/A group description desc N/A N/A N/A N/A py test raises ValueError N/A parser addgroup hello N/A group2 N/A N/A parser getgroup hello N/A N/A group2 group N/A test_getgroup_addsgroup N/A N/A self N/A N/A N/A parser N/A N/A parseopt Parser N/A group N/A N/A parser getgroup hello description desc N/A N/A N/A group name hello N/A N/A N/A group description desc N/A group2 N/A N/A parser getgroup hello N/A N/A group2 group N/A test_group_addoption N/A N/A self N/A N/A N/A group N/A N/A parseopt OptionGroup hello N/A N/A N/A group addoption --option1 action store_true N/A N/A N/A len N/A group options 1 N/A N/A isinstance N/A N/A group options N/A 0 N/A N/A N/A py compat optparse Option N/A test_group_shortopt_lowercase N/A N/A self N/A N/A N/A parser N/A N/A parseopt Parser N/A group N/A N/A parser addgroup hello N/A N/A N/A N/A py test raises ValueError 
            group.addoption("-x", action="store_true")
         N/A N/A N/A len N/A group options 0 N/A N/A N/A group _addoption -x action store_true N/A N/A N/A len N/A group options 1 N/A test_parser_addoption N/A N/A self N/A N/A N/A parser N/A N/A parseopt Parser N/A group N/A N/A parser getgroup custom options N/A N/A N/A len N/A group options 0 N/A N/A N/A group addoption --option1 action store_true N/A N/A N/A len N/A group options 1 N/A test_parse N/A N/A self N/A N/A N/A parser N/A N/A parseopt Parser N/A N/A N/A parser addoption --hello dest hello action store N/A N/A option args N/A N/A parser parse N/A --hello world N/A N/A N/A option hello world N/A N/A args N/A test_parse N/A N/A self N/A N/A N/A parser N/A N/A parseopt Parser N/A N/A option args N/A N/A parser parse N/A N/A N/A N/A py path local N/A N/A N/A args N/A 0 N/A N/A N/A py path local N/A test_parse_will_set_default N/A N/A self N/A N/A N/A parser N/A N/A parseopt Parser N/A N/A N/A parser addoption --hello dest hello default x action store N/A N/A option args N/A N/A parser parse N/A N/A N/A N/A option hello x N/A N/A option hello N/A args N/A N/A parser parse_setoption N/A option N/A N/A N/A option hello x N/A test_parse_setoption N/A N/A self N/A N/A N/A parser N/A N/A parseopt Parser N/A N/A N/A parser addoption --hello dest hello action store N/A N/A N/A parser addoption --world dest world default 42 A N/A N/A N/A N/A N/A option N/A A N/A args N/A N/A parser parse_setoption N/A --hello world option N/A N/A N/A option hello world N/A N/A N/A option world 42 N/A N/A args N/A test_parse_defaultgetter N/A N/A self N/A N/A defaultget N/A N/A option N/A N/A N/A N/A N/A option type int N/A N/A N/A option default 42 N/A N/A N/A N/A option type string N/A N/A N/A option default world N/A N/A parser N/A N/A parseopt Parser processopt defaultget N/A N/A N/A parser addoption --this dest this type int action store N/A N/A N/A parser addoption --hello dest hello type string action store N/A N/A N/A parser addoption --no dest no action store_true N/A N/A option args N/A N/A parser parse N/A N/A N/A N/A option hello world N/A N/A N/A option this 42 N/A N/A