From 50201898429cf9eb5d474455bd5da45e8abccb17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 1 Dec 2010 21:36:57 +0100 Subject: [PATCH] Fix typo thx to plantian (transplanted from 65e3d16ac4bb9b5058b2cbb5a7faf9930060223c) --- doc/topics/pyson.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/topics/pyson.rst b/doc/topics/pyson.rst index 1d5d5e897b..120b441cfa 100644 --- a/doc/topics/pyson.rst +++ b/doc/topics/pyson.rst @@ -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