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 @@ -402,6 +402,11 @@ Glossary
402
402
with :term: `abstract base classes <abstract base class> `.) Instead, it
403
403
typically employs :func: `hasattr ` tests or :term: `EAFP ` programming.
404
404
405
+ dunder
406
+ An informal short-hand for "double underscore", used when talking about a
407
+ :term: `special method `. For example, ``__init__ `` is often pronounced
408
+ "dunder init".
409
+
405
410
EAFP
406
411
Easier to ask for forgiveness than permission. This common Python coding
407
412
style assumes the existence of valid keys or attributes and catches
@@ -1399,6 +1404,11 @@ Glossary
1399
1404
A computer defined entirely in software. Python's virtual machine
1400
1405
executes the :term: `bytecode ` emitted by the bytecode compiler.
1401
1406
1407
+ walrus operator
1408
+ A light-hearted way to refer to the :ref: `assignment expression
1409
+ <assignment-expressions>` operator ``:= `` because it looks a bit like a
1410
+ walrus if you turn your head.
1411
+
1402
1412
Zen of Python
1403
1413
Listing of Python design principles and philosophies that are helpful in
1404
1414
understanding and using the language. The listing can be found by typing
You can’t perform that action at this time.
0 commit comments