File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -435,6 +435,11 @@ Glossary
435
435
with :term: `abstract base classes <abstract base class> `.) Instead, it
436
436
typically employs :func: `hasattr ` tests or :term: `EAFP ` programming.
437
437
438
+ dunder
439
+ An informal short-hand for "double underscore", used when talking about a
440
+ :term: `special method `. For example, ``__init__ `` is often pronounced
441
+ "dunder init".
442
+
438
443
EAFP
439
444
Easier to ask for forgiveness than permission. This common Python coding
440
445
style assumes the existence of valid keys or attributes and catches
@@ -1472,6 +1477,11 @@ Glossary
1472
1477
A computer defined entirely in software. Python's virtual machine
1473
1478
executes the :term: `bytecode ` emitted by the bytecode compiler.
1474
1479
1480
+ walrus operator
1481
+ A light-hearted way to refer to the :ref: `assignment expression
1482
+ <assignment-expressions>` operator ``:= `` because it looks a bit like a
1483
+ walrus if you turn your head.
1484
+
1475
1485
Zen of Python
1476
1486
Listing of Python design principles and philosophies that are helpful in
1477
1487
understanding and using the language. The listing can be found by typing
You can’t perform that action at this time.
0 commit comments