Index
Symbols
%r
, for printable strings, 203
%s
, for human-readable strings, 202
*
operator, liability of, 44–45
*
symbol, for keyword-only arguments, 52–53
*args
optional keyword arguments and, 48
variable positional arguments and, 43–45
**kwargs
, for keyword-only arguments, 53–54
A
__all__
special attribute
avoiding, 183
listing all public names, 181–183
ALL_CAPS
format, 3
Allocation of memory, tracemalloc
module and, 214–216
APIs (application programming interfaces)
internal, allowing subclass access to, 80–82
packages providing stable, 181–184
Arguments
defensively iterating over, 38–42
optional positional, ...
Get Effective Python: 59 Specific Ways to Write Better Python 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.