Module Expr Str Import alias Import alias Import alias ImportFrom alias Import alias FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore SubscriptLoad NameLoad Slice Num Num orelse If Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore SubscriptLoad NameLoad Slice Num Num If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Num If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num Assign AttributeStore NameLoad attr Lambda arguments args NameParam NameParam defaults AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list
N/A N/A Some utility functions for commands (e.g. for cmdline handling)
 N/A imp N/A os N/A re optparse OptionParser N/A mne get_optparser N/A N/A cmdpath usage N/A None N/A N/A Create OptionParser with cmd source specific settings (e.g. prog value)
     N/A command N/A N/A N/A os path basename cmdpath N/A N/A N/A re match mne_(.*).py command N/A N/A command N/A command N/A 4 -3 N/A N/A N/A N/A re match mne_(.*).pyc command N/A N/A command N/A command N/A 4 -4 N/A N/A N/A cmdpath endswith .pyc N/A N/A mod N/A N/A imp load_compiled __temp cmdpath N/A N/A mod N/A N/A imp load_source __temp cmdpath N/A N/A mod __doc__ N/A N/A N/A doc description epilog N/A N/A mod __doc__ None None N/A doc_lines N/A N/A doc split N/A description N/A doc_lines N/A 0 N/A N/A N/A len doc_lines 1 N/A N/A epilog N/A N/A join N/A doc_lines N/A 1 N/A N/A OptionParser format_epilog N/A N/A N/A self formatter N/A N/A self epilog N/A parser N/A OptionParser prog N/A mne %s command version N/A mne __version__ description description epilog epilog usage usage N/A parser N/A