Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2b9bc08

Browse files
committed
Removed useless intra-section references which jump to the top of the
section instead of the specific item being referenced.
1 parent 2dd8c42 commit 2b9bc08

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Doc/lib/libfuncs.tex

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ \section{Built-in Functions \label{built-in-funcs}}
123123
\end{funcdesc}
124124

125125
\begin{funcdesc}{classmethod}{function}
126-
\label{classmethod}
127126
Return a class method for \var{function}.
128127

129128
A class method receives the class as implicit first argument,
@@ -143,7 +142,7 @@ \section{Built-in Functions \label{built-in-funcs}}
143142
object is passed as the implied first argument.
144143

145144
Class methods are different than C++ or Java static methods.
146-
If you want those, see \ref{staticmethod}.
145+
If you want those, see \function{staticmethod} in this section.
147146
\versionadded{2.2}
148147
\end{funcdesc}
149148

@@ -902,7 +901,6 @@ \section{Built-in Functions \label{built-in-funcs}}
902901
\end{funcdesc}
903902

904903
\begin{funcdesc}{staticmethod}{function}
905-
\label{staticmethod}
906904
Return a static method for \var{function}.
907905

908906
A static method does not receive an implicit first argument.
@@ -919,7 +917,7 @@ \section{Built-in Functions \label{built-in-funcs}}
919917
for its class.
920918

921919
Static methods in Python are similar to those found in Java or C++.
922-
For a more advanced concept, see \ref{classmethod}.
920+
For a more advanced concept, see \function{classmethod} in this section.
923921
\versionadded{2.2}
924922
\end{funcdesc}
925923

0 commit comments

Comments
 (0)