Fix typo thx to plantian
(transplanted from 65e3d16ac4bb9b5058b2cbb5a7faf9930060223c)
This commit is contained in:
1 parent
04dfe649c4
commit
5020189842
1 file changed
+1
-1
@@ -98,7 +98,7 @@ dictionary ``{}``. ``Get()`` checks the former resulting dictionary
|
||||
and returns the value of the key ``'company'``, otherwise it returns
|
||||
the number ``0``. A similar expression in Python looks like this::
|
||||
|
||||
'context' in locals() and context.get('company', 0)
|
||||
'context' in locals() and context.get('company', 0) or 0
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user