summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2011-08-18 15:36:15 +0200
committerSandro Tosi <sandro.tosi@gmail.com>2011-08-18 15:36:15 +0200
commit02ebf4f78b8f9cd753d4138e5b85323dec1f16d4 (patch)
tree75da82233860f09ce65a01672c96bfe822a02d78
parentde66ecc75fc06abbee21100e760cc7a5542c0308 (diff)
downloadcpython-git-02ebf4f78b8f9cd753d4138e5b85323dec1f16d4.tar.gz
grammatical fixes; from Darren Yin on docs@
-rw-r--r--Doc/howto/doanddont.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/howto/doanddont.rst b/Doc/howto/doanddont.rst
index 15aa9960a4..98dbad192d 100644
--- a/Doc/howto/doanddont.rst
+++ b/Doc/howto/doanddont.rst
@@ -32,8 +32,8 @@ Inside Function Definitions
versions of Python do not check for the invalidity, it does not make it more
valid, no more than having a smart lawyer makes a man innocent. Do not use it
like that ever. Even in versions where it was accepted, it made the function
-execution slower, because the compiler could not be certain which names are
-local and which are global. In Python 2.1 this construct causes warnings, and
+execution slower, because the compiler could not be certain which names were
+local and which were global. In Python 2.1 this construct causes warnings, and
sometimes even errors.
@@ -46,7 +46,7 @@ you can know where each toplevel name is defined by a simple "search" function
in your favourite editor. You also open yourself to trouble in the future, if
some module grows additional functions or classes.
-One of the most awful question asked on the newsgroup is why this code::
+One of the most awful questions asked on the newsgroup is why this code::
f = open("www")
f.read()