Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in python-descriptors

Function to behave differently on class vs on instance

How is the self argument magically passed to instance methods?

Why is `__dict__` attribute of a custom Python class instance a descriptor of the class, instead of an actual attribute of the instances?

Python object, where is `__name__` stored? [duplicate]

Is one of the "__get__" arguments redundant? [duplicate]

python python-descriptors

How is a staticmethod not bound to to the "staticmethod" class?

How does a descriptor with __set__ but without __get__ work?

python python-descriptors

Python attributes and descriptors

Understanding Python Descriptors

Using Typing and Mypy with Descriptors

Adaptable descriptor in Python

typing: How to bind owner class to generic descriptor?

why do you need "if instance is None" in __get__ of a descriptor class?

Neat way to get descriptor object

mypy error: Callable has no attribute "__get__"

Setting a class __name__ declaratively

Type hinting with descriptors

How to assign member variables temporarily?

python data and non-data descriptors

Why does setting a descriptor on a class overwrite the descriptor?