[Python-checkins] cpython (2.7): grammatical fixes; from Darren Yin on docs@

sandro.tosi python-checkins at python.org
Thu Aug 18 15:38:13 CEST 2011


http://hg.python.org/cpython/rev/d430a352dab3
changeset:   71898:d430a352dab3
branch:      2.7
parent:      71890:b4ccf8e1fdba
user:        Sandro Tosi <sandro.tosi at gmail.com>
date:        Thu Aug 18 15:36:15 2011 +0200
summary:
  grammatical fixes; from Darren Yin on docs@

files:
  Doc/howto/doanddont.rst |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Doc/howto/doanddont.rst b/Doc/howto/doanddont.rst
--- a/Doc/howto/doanddont.rst
+++ b/Doc/howto/doanddont.rst
@@ -32,8 +32,8 @@
 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 @@
 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()

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list