Package schrodinger :: Package application :: Package mopac :: Module mopac_parser :: Class MethodOptionAction
[hide private]
[frames] | no frames]

Class MethodOptionAction

               object --+        
                        |        
argparse._AttributeHolder --+    
                            |    
              argparse.Action --+
                                |
                               MethodOptionAction

Modified argparse Action object that allows for upper or lower-case specification of string options, including synonyms

Instance Methods [hide private]
 
__init__(self, option_strings, method_synonyms, valid_methods, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__call__(self, parser, namespace, values, option_string=None)

Inherited from argparse.Action (private): _get_kwargs

Inherited from argparse._AttributeHolder: __repr__

Inherited from argparse._AttributeHolder (private): _get_args

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, option_strings, method_synonyms, valid_methods, **kwargs)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__call__(self, parser, namespace, values, option_string=None)
(Call operator)

 
Overrides: argparse.Action.__call__