Mercurial > cpython-lru_cache-weakref
comparison Doc/texinputs/python.sty @ 7792:8d4148213cc0 legacy-trunk
\bifuncindex: Fix so entries combine correctly with those of the built-in
functions section.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 02 Apr 1998 18:48:32 +0000 |
| parents | 6adf917ee773 |
| children | 047996666c81 |
comparison
equal
deleted
inserted
replaced
| 7791:23d049002568 | 7792:8d4148213cc0 |
|---|---|
| 267 % operator. | 267 % operator. |
| 268 \newcommand{\stindex}[1]{\indexii{statement}{#1@{\idxcode{#1}}}} | 268 \newcommand{\stindex}[1]{\indexii{statement}{#1@{\idxcode{#1}}}} |
| 269 \newcommand{\opindex}[1]{\indexii{operator}{#1@{\idxcode{#1}}}} | 269 \newcommand{\opindex}[1]{\indexii{operator}{#1@{\idxcode{#1}}}} |
| 270 \newcommand{\exindex}[1]{\indexii{exception}{#1@{\idxcode{#1}}}} | 270 \newcommand{\exindex}[1]{\indexii{exception}{#1@{\idxcode{#1}}}} |
| 271 \newcommand{\obindex}[1]{\indexii{object}{#1}} | 271 \newcommand{\obindex}[1]{\indexii{object}{#1}} |
| 272 \newcommand{\bifuncindex}[1]{\index{#1@{\idxcode{#1()}} (built-in function)}} | 272 \newcommand{\bifuncindex}[1]{\withsubitem{(built-in function)}{\ttindex{#1()}}} |
| 273 | 273 |
| 274 % Add an index entry for a module | 274 % Add an index entry for a module |
| 275 \newcommand{\refmodule}[2]{\index{#1@{\idxcode{#1}} (#2module)}} | 275 \newcommand{\refmodule}[2]{\index{#1@{\idxcode{#1}} (#2module)}} |
| 276 \newcommand{\refmodindex}[1]{\refmodule{#1}{}} | 276 \newcommand{\refmodindex}[1]{\refmodule{#1}{}} |
| 277 \newcommand{\refbimodindex}[1]{\refmodule{#1}{built-in }} | 277 \newcommand{\refbimodindex}[1]{\refmodule{#1}{built-in }} |
