diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2012-03-23 18:29:59 +0400 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2012-03-23 18:29:59 +0400 |
commit | ef1d3a399300dc58c9738362b02f57765e436201 (patch) | |
tree | 7f8ece1305d0ad2e6960e8fb2508801fd9a984d8 /doc/python_api/rst/info_best_practice.rst | |
parent | 87681b46eafede158543233c92d5d32874014b77 (diff) |
Fixed a couple of typos in the Python API docs
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 1f0f81f7d14..481555d412a 100644 --- a/doc/python_api/rst/info_best_practice.rst +++ b/doc/python_api/rst/info_best_practice.rst @@ -268,7 +268,7 @@ 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. -There are cases where using **try** is faster than checking weather the condition will raise an error, so it is worth experimenting. +There are cases where using **try** is faster than checking whether the condition will raise an error, so it is worth experimenting. Value Comparison |