File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -495,23 +495,12 @@ \subsection{The \module{Stats} Class}
495495\end {methoddesc }
496496
497497\begin {methoddesc }{ignore}{}
498- This method of the \class {Stats} class is used to dispose of the value
499- returned by earlier methods. All standard methods in this class
500- return the instance that is being processed, so that the commands can
501- be strung together. For example:
502-
503- \begin {verbatim }
504- pstats.Stats('foofile').strip_dirs().sort_stats('cum') \
505- .print_stats().ignore()
506- \end {verbatim }
507-
508- would perform all the indicated functions, but it would not return
509- the final reference to the \class {Stats} instance.%
498+ \deprecated {1.5.1}{This is not needed in modern versions of Python.%
510499\footnote {
511500This was once necessary, when Python would print any unused expression
512501result that was not \code {None}. The method is still defined for
513502backward compatibility.
514- }
503+ }}
515504\end {methoddesc }
516505
517506
Original file line number Diff line number Diff line change @@ -495,23 +495,12 @@ \subsection{The \module{Stats} Class}
495495\end {methoddesc }
496496
497497\begin {methoddesc }{ignore}{}
498- This method of the \class {Stats} class is used to dispose of the value
499- returned by earlier methods. All standard methods in this class
500- return the instance that is being processed, so that the commands can
501- be strung together. For example:
502-
503- \begin {verbatim }
504- pstats.Stats('foofile').strip_dirs().sort_stats('cum') \
505- .print_stats().ignore()
506- \end {verbatim }
507-
508- would perform all the indicated functions, but it would not return
509- the final reference to the \class {Stats} instance.%
498+ \deprecated {1.5.1}{This is not needed in modern versions of Python.%
510499\footnote {
511500This was once necessary, when Python would print any unused expression
512501result that was not \code {None}. The method is still defined for
513502backward compatibility.
514- }
503+ }}
515504\end {methoddesc }
516505
517506
You can’t perform that action at this time.
0 commit comments