Index
Symbols
* (asterisk) operator
keyword-only arguments, 98
variable positional arguments, 87–88
@ (at) symbol, decorators, 101
** (double asterisk) operator, keyword arguments, 90–91
/ (forward slash) operator, positional-only arguments, 99
% (percent) operator
bytes versus str instances, 8–9
formatting strings, 11
+ (plus) operator, bytes versus str instances, 7
_ (underscore) variable name, 149
:= (walrus) operator
__format__method, 16
__getattribute__ method, 195–201
__init_subclass__ method
Get Effective Python: 90 Specific Ways to Write Better Python, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.