Package pygeodesy :: Module basics :: Class property_RO |
[frames] | no frames]

# Class property_RO

    object --+
             |
      property --+
                 |
                property_RO

An immutable property (`Read Only`).

Instance Methods
    property attribute
__init__(self, method) New property_RO. |
Inherited from `property`: `__delete__`, `__get__`, `__getattribute__`, `__new__`, `__set__`, `deleter`, `getter`, `setter` Inherited from `object`: `__delattr__`, `__format__`, `__hash__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties
Inherited from `property`: `fdel`, `fget`, `fset` Inherited from `object`: `__class__`

Method Details

### __init__(self, method) (Constructor) |
New property_RO. Parameters: `method` - The callable to be decorated as `property.getter`. Returns:
    property attribute
Overrides: object.__init__ Note: Like standard Python `property` without a `property.setter` and with a more descriptive error message when set.