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
bc8ad5bd
Commit
bc8ad5bd
authored
Mar 11, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace lists of attributes for code and frame objects with a reference to the
Python Reference Manual.
parent
fdbd51db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
36 deletions
+4
-36
Doc/lib/libpdb.tex
Doc/lib/libpdb.tex
+2
-18
Doc/libpdb.tex
Doc/libpdb.tex
+2
-18
No files found.
Doc/lib/libpdb.tex
View file @
bc8ad5bd
...
...
@@ -300,21 +300,5 @@ new local trace function
Note that as an exception is propagated down the chain of callers, an
\code
{
'exception'
}
event is generated at each level.
Stack frame objects have the following read-only attributes:
\begin{description}
\item
[f_code]
the code object being executed
\item
[f_lineno]
the current line number (
\code
{
-1
}
for
\code
{
'call'
}
events)
\item
[f_back]
the stack frame of the caller, or None
\item
[f_locals]
dictionary containing local name bindings
\item
[f_globals]
dictionary containing global name bindings
\end{description}
Code objects have the following read-only attributes:
\begin{description}
\item
[co_code]
the code string
\item
[co_names]
the list of names used by the code
\item
[co_consts]
the list of (literal) constants used by the code
\item
[co_filename]
the filename from which the code was compiled
\end{description}
For more information on code and frame objects, refer to the
\emph
{
Python Reference Manual
}
.
Doc/libpdb.tex
View file @
bc8ad5bd
...
...
@@ -300,21 +300,5 @@ new local trace function
Note that as an exception is propagated down the chain of callers, an
\code
{
'exception'
}
event is generated at each level.
Stack frame objects have the following read-only attributes:
\begin{description}
\item
[f_code]
the code object being executed
\item
[f_lineno]
the current line number (
\code
{
-1
}
for
\code
{
'call'
}
events)
\item
[f_back]
the stack frame of the caller, or None
\item
[f_locals]
dictionary containing local name bindings
\item
[f_globals]
dictionary containing global name bindings
\end{description}
Code objects have the following read-only attributes:
\begin{description}
\item
[co_code]
the code string
\item
[co_names]
the list of names used by the code
\item
[co_consts]
the list of (literal) constants used by the code
\item
[co_filename]
the filename from which the code was compiled
\end{description}
For more information on code and frame objects, refer to the
\emph
{
Python Reference Manual
}
.
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