In the python document 2.4.3. Formatted string literals, it seems possible to write a star followed by an expression in a f-string’s {}, but I cannot find how to use that. What’s that and how I can use it? Is it documented somewhere? To be exact, this is regarding “*” or_expr part of the following BNF. I tried it in
Tag: language-lawyer
Terminology: A user-defined function object attribute?
According to Python 2.7.12 documentation, User-defined methods: User-defined method objects may be created when getting an attribute of a class (perhaps via an instance of that class), if that attribute is a user-defined function object, an unbound user-defined method object, or a class method object. When the attribute is a user-defined method object, a new method object is only created