Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Derive and return a new type named C{new_class_name}.  Various C{options} define
behaviour of instances of the new type.  Their set and sometimes semantics are
defined by exact class this method is called for.

                       C{__repr__} implementations.
@type  new_class_name: C{basestring}

@param options:        options for the new type, as listed below.

src/p/y/py-notify-0.3.1/test/condition.py   py-notify(Download)
    def test_derivation_slots (self):
        DerivedCondition = AbstractCondition.derive_type ('DerivedCondition')
        self.assertRaises (AttributeError,
                           self.non_existing_attribute_setter (DerivedCondition ()))