Package PyFoam :: Package ThirdParty :: Package Gnuplot :: Module termdefs :: Class MutuallyExclusiveArgs
[hide private]
[frames] | no frames]

Class MutuallyExclusiveArgs

source code

Arg --+
      |
     MutuallyExclusiveArgs

A group of args, of which either zero or one may be set, but not more.

Members:

    subargs -- a list [('argname', arg), ...] of Arg instances.
        'argname' is used to identify the corresponding arg in
        error messages.  (The name of the corresponding keyword
        args is determined internally by each arg.)

Instance Methods [hide private]
 
__init__(self, *subargs) source code
 
__call__(self, keyw) source code