Mercurial > cpython-lru_cache-weakref
comparison Doc/texinputs/python.sty @ 12346:24d4116897dd legacy-trunk
cfuncdesc environment:
When processing the optional parameter, don't append any text;
let the pre-processor supply all of it.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Mon, 10 Apr 2000 18:21:38 +0000 |
| parents | 774817285b8c |
| children | 052fbd931492 |
comparison
equal
deleted
inserted
replaced
| 12345:e952a4b920ad | 12346:24d4116897dd |
|---|---|
| 543 % tools/anno-api.py; it pulls the value from the refcounts database. | 543 % tools/anno-api.py; it pulls the value from the refcounts database. |
| 544 \newenvironment{cfuncdesc}[4][\py@badkey]{ | 544 \newenvironment{cfuncdesc}[4][\py@badkey]{ |
| 545 \begin{fulllineitems} | 545 \begin{fulllineitems} |
| 546 \item[\code{#2 \bfcode{#3}(\py@varvars{#4})}\index{#3@{\py@idxcode{#3()}}}] | 546 \item[\code{#2 \bfcode{#3}(\py@varvars{#4})}\index{#3@{\py@idxcode{#3()}}}] |
| 547 \ifx#1\@undefined\else% | 547 \ifx#1\@undefined\else% |
| 548 \emph{Return value: \textbf{#1 reference}.}\\ | 548 \emph{Return value: \textbf{#1}.}\\ |
| 549 \fi | 549 \fi |
| 550 }{\end{fulllineitems}} | 550 }{\end{fulllineitems}} |
| 551 | 551 |
| 552 % C variables ------------------------------------------------------------ | 552 % C variables ------------------------------------------------------------ |
| 553 % \begin{cvardesc}{type}{name} | 553 % \begin{cvardesc}{type}{name} |
