diff options
Diffstat (limited to 'doc/python_api/rst/info_best_practice.rst')
-rw-r--r-- | doc/python_api/rst/info_best_practice.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/rst/info_best_practice.rst b/doc/python_api/rst/info_best_practice.rst index d191bb608e8..1f0f81f7d14 100644 --- a/doc/python_api/rst/info_best_practice.rst +++ b/doc/python_api/rst/info_best_practice.rst @@ -264,7 +264,7 @@ if your unsure whether the text is upper or lower case use lower or upper string Use try/except Sparingly ------------------------ -The **try** statement useful to save time writing error checking code. +The **try** statement is useful to save time writing error checking code. However **try** is significantly slower then an **if** since an exception has to be set each time, so avoid using **try** in areas of your code that execute in a loop and runs many times. |