Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in python-descriptors

Get attribute name of class attribute

What is the purpose of instance and owner in Python descriptors?

python python-descriptors

Let a passed function object be called as a method

python python-descriptors

Python type-checking Protocols and 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