pytilities.descriptors.bounddescriptor

pytilities.descriptors.bounddescriptor.BoundDescriptor(descriptor, instance)

Constructs a descriptor with an object bound to it.

It’s like bound methods, but more general (supports all descriptors rather than just functions).

Parameters:
  • descriptor (descriptor) – The descriptor to bind to
  • instance (any) – The instance to be bound

Previous topic

pytilities.descriptors.attributedescriptor

Next topic

pytilities.descriptors.bounddescriptor

This Page