mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
(myformat.sty, extref.tex): Moved definition of cfuncdesc environment to
myformat.sty; having it in extref.tex confuses LaTeX2HTML.
This commit is contained in:
parent
fd255e433f
commit
eb33c781f3
2 changed files with 5 additions and 5 deletions
|
@ -1,8 +1,3 @@
|
|||
% cfuncdesc should be called as an \begin{cfuncdesc} ... \end{cfuncdesc}
|
||||
\newcommand{\cfuncline}[3]{\item[\code{#1 #2(\varvars{#3})}]\ttindex{#2}}
|
||||
\newcommand{\cfuncdesc}[3]{\fulllineitems\cfuncline{#1}{#2}{#3}}
|
||||
\let\endcfuncdesc\endfulllineitems
|
||||
|
||||
\newcommand{\NULL}{\code{NULL}}
|
||||
|
||||
\chapter{Extension Reference}
|
||||
|
|
|
@ -114,6 +114,11 @@
|
|||
\let\endfulllineitems\endlist
|
||||
|
||||
|
||||
% cfuncdesc should be called as an \begin{cfuncdesc} ... \end{cfuncdesc}
|
||||
\newcommand{\cfuncline}[3]{\item[\code{#1 #2(\varvars{#3})}]\ttindex{#2}}
|
||||
\newcommand{\cfuncdesc}[3]{\fulllineitems\cfuncline{#1}{#2}{#3}}
|
||||
\let\endcfuncdesc\endfulllineitems
|
||||
|
||||
% funcdesc should be called as an \begin{funcdesc} ... \end{funcdesc}
|
||||
\newcommand{\funcline}[2]{\item[\code{#1(\varvars{#2})}]\ttindex{#1}}
|
||||
\newcommand{\funcdesc}[2]{\fulllineitems\funcline{#1}{#2}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue