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
40da72ad
Commit
40da72ad
authored
Dec 05, 2004
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed deprecated method from pstats.
parent
9eaafbc4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
12 deletions
+2
-12
Doc/lib/libprofile.tex
Doc/lib/libprofile.tex
+0
-8
Lib/pstats.py
Lib/pstats.py
+0
-4
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Doc/lib/libprofile.tex
View file @
40da72ad
...
...
@@ -525,14 +525,6 @@ of direction of calls (re: called vs was called by), the arguments and
ordering are identical to the
\method
{
print
_
callers()
}
method.
\end{methoddesc}
\begin{methoddesc}
[Stats]
{
ignore
}{}
\deprecated
{
1.5.1
}{
This is not needed in modern versions of
Python.
\footnote
{
This was once necessary, when Python would print any unused expression
result that was not
\code
{
None
}
. The method is still defined for
backward compatibility.
}}
\end{methoddesc}
\section
{
Limitations
\label
{
profile-limits
}}
...
...
Lib/pstats.py
View file @
40da72ad
...
...
@@ -416,10 +416,6 @@ class Stats:
print
f8
(
ct
/
cc
),
print
func_std_string
(
func
)
def
ignore
(
self
):
# Deprecated since 1.5.1 -- see the docs.
pass
# has no return value, so use at end of line :-)
class
TupleComp
:
"""This class provides a generic function for comparing any two tuples.
Each instance records a list of tuple-indices (from most significant
...
...
Misc/NEWS
View file @
40da72ad
...
...
@@ -21,6 +21,8 @@ Extension Modules
Library
-------
- the pstats module no longer uses the deprecated ignore() method.
- the filecmp module no longer uses the deprecated use_statcache argument.
- unittest.TestCase.run() and unittest.TestSuite.run() can now be successfully
...
...
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