Package param :: Module parameterized :: Class ParameterMetaclass
[hide private]
[frames] | no frames]

Type ParameterMetaclass

source code


Metaclass allowing control over creation of Parameter classes.
Instance Methods [hide private]
 
__getattribute__(mcs, name)
x.__getattribute__('name') <==> x.name
source code

Inherited from type: __call__, __cmp__, __delattr__, __eq__, __ge__, __gt__, __hash__, __init__, __le__, __lt__, __ne__, __repr__, __setattr__, __subclasses__, mro

Inherited from object: __format__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
__new__(mcs, classname, bases, classdict)
staticmethod(function) -> method
source code
Properties [hide private]

Inherited from type: __abstractmethods__, __base__, __bases__, __basicsize__, __dictoffset__, __flags__, __instancecheck__, __itemsize__, __mro__, __name__, __subclasscheck__, __weakrefoffset__

Inherited from object: __class__

Method Details [hide private]

__new__(mcs, classname, bases, classdict)
Static Method

source code 

staticmethod(function) -> method

Convert a function to be a static method.

A static method does not receive an implicit first argument. To declare a static method, use this idiom:

class C:
def f(arg1, arg2, ...): ... f = staticmethod(f)

It can be called either on the class (e.g. C.f()) or on an instance (e.g. C().f()). The instance is ignored except for its class.

Static methods in Python are similar to those found in Java or C++. For a more advanced concept, see the classmethod builtin.

Overrides: object.__new__
(inherited documentation)

__getattribute__(mcs, name)

source code 
x.__getattribute__('name') <==> x.name
Overrides: object.__getattribute__
(inherited documentation)