Conventions Used in This Book
The following conventions are used throughout this book.
Reference Conventions
In the function/method reference entries, when feasible, each optional parameter is shown with a default value using the Python syntax name=value. Built-in functions need not accept named parameters, so parameter names are not significant. Some optional parameters are best explained in terms of their presence or absence, rather than through default values. In such cases, I indicate that a parameter is optional by enclosing it in brackets ([]). When more than one argument is optional, the brackets are nested.
Typographic Conventions
- Italic
Used for filenames, program names, URLs, and to introduce new terms. Also used for Unix commands and their options.
Constant widthUsed for all code examples, as well as for all items that appear in code, including keywords, methods, functions, classes, and modules.
ConstantwidthitalicUsed to show text that can be replaced with user-supplied values in code examples.
Constant width boldUsed for commands that must be typed on the command line, and occasionally for emphasis in code examples or to indicate code output.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access