(self, **kw)
Create new Policy, possibly overriding some defaults.

        See class docstring for a list of overridable attributes.
Create new Policy, possibly overriding some defaults.
Create new Policy possibly overriding some defaults .
def __init__(self, **kw):
        """Create new Policy, possibly overriding some defaults.

        See class docstring for a list of overridable attributes.

        """
        for name, value in kw.items():
            if hasattr(self, name):
                super(_PolicyBase,self).__setattr__(name, value)
            else:
                raise TypeError(
                    "{!r} is an invalid keyword argument for {}".format(
                        name, self.__class__.__name__))
def __init__ ( self , * * kw ) : for name , value in kw . items ( ) : if hasattr ( self , name ) : super ( _PolicyBase , self ) . __setattr__ ( name , value ) else : raise TypeError ( "{!r} is an invalid keyword argument for {}" . format ( name , self . __class__ . __name__ ) )