Package pygeodesy :: Module props
[frames] | no frames]

Module props

Caching, immutable and mutable properties and decorators.


Version: 21.01.09

Classes
  Property_RO
  Property
  property_RO
Functions
 
property_doc_(doc)
Decorator for a standard property with basic documentation.
Variables
  __all__ = _ALL_LAZY.props
Function Details

property_doc_ (doc)

 

Decorator for a standard property with basic documentation.

Arguments:
  • doc - The property documentation (str).

Example:

>>> @property_doc_("documentation text.")
>>> def name(self):
>>>     ...
>>>
>>> @name.setter
>>> def name(self, value):
>>>     ...