summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-17 02:17:00 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-17 02:17:00 (GMT)
commit300775d2223eaaf448db692bd8a7a0cf7aca970e (patch)
tree0cf2ce3cf7a081ad652c2301caad2af771c68745 /Doc
parent08932054e968127bcf9bd04cd7267f393c5e14c8 (diff)
downloadcpython-300775d2223eaaf448db692bd8a7a0cf7aca970e.zip
cpython-300775d2223eaaf448db692bd8a7a0cf7aca970e.tar.gz
cpython-300775d2223eaaf448db692bd8a7a0cf7aca970e.tar.bz2
Hide \varvars from "public" interface.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/texinputs/python.sty10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index e634ce7..831143f 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -358,7 +358,7 @@
% \begin{cfuncdesc}{type}{name}{arglist}
\newenvironment{cfuncdesc}[3]{
\begin{fulllineitems}
- \item[\code{#1 \bfcode{#2}(\varvars{#3})}\index{#2@{\idxcode{#2()}}}]
+ \item[\code{#1 \bfcode{#2}(\py@varvars{#3})}\index{#2@{\idxcode{#2()}}}]
}{\end{fulllineitems}}
% C variables ------------------------------------------------------------
@@ -384,7 +384,7 @@
}{\end{fulllineitems}}
% similar to {funcdesc}, but doesn't add to the index
-\newcommand{\funclineni}[2]{\item[\code{\bfcode{#1}(\varvars{#2})}]}
+\newcommand{\funclineni}[2]{\item[\code{\bfcode{#1}(\py@varvars{#2})}]}
\newenvironment{funcdescni}[2]{
\begin{fulllineitems}
\funclineni{#1}{#2}
@@ -395,7 +395,7 @@
\newenvironment{classdesc}[2]{
\global\def\@thisclass{#1}
\begin{fulllineitems}
- \item[\code{\bfcode{#1}(\varvars{#2})}%
+ \item[\code{\bfcode{#1}(\py@varvars{#2})}%
\withsubitem{(class in \@thismodule)}{\ttindex{#1}}]
\def\baseclasses##1{}
}{\end{fulllineitems}}
@@ -427,7 +427,7 @@
% similar to {methoddesc}, but doesn't add to the index
% (never actually uses the optional argument)
\newcommand{\methodlineni}[3][\@classbadkey]{%
- \item[\code{\bfcode{#2}(\varvars{#3})}]}
+ \item[\code{\bfcode{#2}(\py@varvars{#3})}]}
\newenvironment{methoddescni}[3][\@classbadkey]{
\begin{fulllineitems}
\methodlineni{#2}{#3}
@@ -546,7 +546,7 @@
\newcommand{\email}[1]{{\small\textsf{#1}}}
\newcommand{\newsgroup}[1]{{\small\textsf{#1}}}
-\newcommand{\varvars}[1]{{\def\,{\/{\char`\,}}\var{#1}}}
+\newcommand{\py@varvars}[1]{{\def\,{\/{\char`\,}}\var{#1}}}
\newif\iftexi\texifalse
\newif\iflatex\latextrue