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
097bbea4
Commit
097bbea4
authored
Sep 01, 2006
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
evalfile() should be execfile().
(backport from rev. 51677)
parent
2998a1c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Doc/tut/tut.tex
Doc/tut/tut.tex
+1
-1
No files found.
Doc/tut/tut.tex
View file @
097bbea4
...
...
@@ -4381,7 +4381,7 @@ the debugger, and that's one reason why this loophole is not closed.
makes use of private variables of the base class possible.
)
Notice that code passed to
\code
{
exec
}
,
\code
{
eval
()
}
or
\code
{
e
val
file
()
}
does not consider the classname of the invoking
\code
{
e
xec
file
()
}
does not consider the classname of the invoking
class to be the current class; this is similar to the effect of the
\code
{
global
}
statement, the effect of which is likewise restricted to
code that is byte
-
compiled together. The same restriction applies to
...
...
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