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
@@ -1474,6 +1479,11 @@ Glossary
1474
1479
A computer defined entirely in software. Python's virtual machine
1475
1480
executes the :term: `bytecode ` emitted by the bytecode compiler.
1476
1481
1482
+ walrus operator
1483
+ A light-hearted way to refer to the :ref: `assignment expression
1484
+ <assignment-expressions>` operator ``:= `` because it looks a bit like a
1485
+ walrus if you turn your head.
1486
+
1477
1487
Zen of Python
1478
1488
Listing of Python design principles and philosophies that are helpful in
1479
1489
understanding and using the language. The listing can be found by typing
You can’t perform that action at this time.
0 commit comments