Перейти к содержанию

Python property() built-in function

Python property() built-in function

From the Python 3 documentation Return a property attribute.

Examples

>>> property(1)
# <property object at 0x7f93158c8590>
>>> property('1')
# <property object at 0x7f93159fe2c0>