Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
02ebf4f7
Commit
02ebf4f7
authored
Aug 18, 2011
by
Sandro Tosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grammatical fixes; from Darren Yin on docs@
parent
de66ecc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/howto/doanddont.rst
Doc/howto/doanddont.rst
+3
-3
No files found.
Doc/howto/doanddont.rst
View file @
02ebf4f7
...
...
@@ -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
a
re
local and which
a
re global. In Python 2.1 this construct causes warnings, and
execution slower, because the compiler could not be certain which names
we
re
local and which
we
re 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 question
s
asked on the newsgroup is why this code::
f = open("www")
f.read()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment