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

Skip to content

Commit e15eb35

Browse files
committed
Use \citetitle as appropriate.
1 parent 9fa76f1 commit e15eb35

6 files changed

Lines changed: 47 additions & 44 deletions

File tree

Doc/mac/libmac.tex

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ \section{Introduction}
3131
parameters will occasionally be different in Python (input and output
3232
buffers, especially). All methods and functions have a \code{__doc__}
3333
string describing their arguments and return values, and for
34-
additional description you are referred to \emph{Inside Macintosh} or
35-
similar works.
34+
additional description you are referred to \citetitle{Inside
35+
Macintosh} or similar works.
3636

3737
The following modules are documented here:
3838

@@ -92,8 +92,9 @@ \section{\module{macpath} ---
9292

9393
This module is the Macintosh implementation of the \module{os.path}
9494
module. It is most portably accessed as
95-
\module{os.path}\refstmodindex{os.path}. Refer to the \emph{Python Library
96-
Reference} for documentation of \module{os.path}.
95+
\module{os.path}\refstmodindex{os.path}. Refer to the
96+
\citetitle[../lib/lib.html]{Python Library Reference} for
97+
documentation of \module{os.path}.
9798

9899
The following functions are available in this module:
99100
\function{normcase()},

Doc/mac/libmacfs.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ \section{\module{macfs} ---
1616
Whenever a function or method expects a \var{file} argument, this
1717
argument can be one of three things:\ (1) a full or partial Macintosh
1818
pathname, (2) an \pytype{FSSpec} object or (3) a 3-tuple \code{(\var{wdRefNum},
19-
\var{parID}, \var{name})} as described in \emph{Inside
19+
\var{parID}, \var{name})} as described in \citetitle{Inside
2020
Macintosh:\ Files}. A description of aliases and the Standard File
2121
package can also be found there.
2222

@@ -202,7 +202,7 @@ \subsection{Alias Objects \label{alias-objects}}
202202

203203
\subsection{FInfo Objects \label{finfo-objects}}
204204

205-
See \emph{Inside Macintosh: Files} for a complete description of what
205+
See \citetitle{Inside Macintosh: Files} for a complete description of what
206206
the various fields mean.
207207

208208
\begin{memberdesc}[FInfo]{Creator}

Doc/mac/mac.tex

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,18 @@ \chapter*{Front Matter\label{front}}
2424

2525
\noindent
2626
This library reference manual documents Python's extensions for the
27-
Macintosh. It should be used in conjunction with the \emph{Python
28-
Library Reference}, which documents the standard library and built-in
29-
types.
27+
Macintosh. It should be used in conjunction with the
28+
\citetitle[../lib/lib.html]{Python Library Reference}, which documents
29+
the standard library and built-in types.
3030

3131
This manual assumes basic knowledge about the Python language. For an
32-
informal introduction to Python, see the \emph{Python Tutorial}; the
33-
\emph{Python Reference Manual} remains the highest authority on
34-
syntactic and semantic questions. Finally, the manual entitled
35-
\emph{Extending and Embedding the Python Interpreter} describes how to
36-
add new extensions to Python and how to embed it in other applications.
32+
informal introduction to Python, see the
33+
\citetitle[../tut/tut.html]{Python Tutorial}; the
34+
\citetitle[../ref/ref.html]{Python Reference Manual} remains the
35+
highest authority on syntactic and semantic questions. Finally, the
36+
manual entitled \citetitle[../ext/ext.html]{Extending and Embedding
37+
the Python Interpreter} describes how to add new extensions to Python
38+
and how to embed it in other applications.
3739

3840
\end{abstract}
3941

Doc/ref/ref.tex

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,18 @@ \chapter*{Front Matter\label{front}}
3232
without charge for all major platforms, and can be freely distributed.
3333

3434
This reference manual describes the syntax and ``core semantics'' of
35-
the language. It is terse, but attempts to be exact and complete. The
36-
semantics of non-essential built-in object types and of the built-in
37-
functions and modules are described in the \emph{Python Library
38-
Reference}. For an informal introduction to the language, see the
39-
\emph{Python Tutorial}. For \C{} or \Cpp{} programmers, two additional
40-
manuals exist: \emph{Extending and Embedding the Python Interpreter}
41-
describes the high-level picture of how to write a Python extension
42-
module, and the \emph{Python/C API Reference Manual} describes the
43-
interfaces available to C/C++ programmers in detail.
35+
the language. It is terse, but attempts to be exact and complete.
36+
The semantics of non-essential built-in object types and of the
37+
built-in functions and modules are described in the
38+
\citetitle[../lib/lib.html]{Python Library Reference}. For an
39+
informal introduction to the language, see the
40+
\citetitle[../tut/tut.html]{Python Tutorial}. For C or
41+
\Cpp{} programmers, two additional manuals exist:
42+
\citetitle[../ext/ext.html]{Extending and Embedding the Python
43+
Interpreter} describes the high-level picture of how to write a Python
44+
extension module, and the \citetitle[../api/api.html]{Python/C API
45+
Reference Manual} describes the interfaces available to
46+
C/\Cpp{} programmers in detail.
4447

4548
\end{abstract}
4649

Doc/ref/ref1.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ \chapter{Introduction\label{introduction}}
2929

3030
Every Python implementation comes with a number of built-in and
3131
standard modules. These are not documented here, but in the separate
32-
\emph{Python Library Reference} document. A few built-in modules are
33-
mentioned when they interact in a significant way with the language
34-
definition.
32+
\citetitle[../lib/lib.html]{Python Library Reference} document. A few
33+
built-in modules are mentioned when they interact in a significant way
34+
with the language definition.
3535

3636
\section{Notation\label{notation}}
3737

Doc/ref/ref3.tex

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -629,28 +629,25 @@ \section{The standard type hierarchy\label{types}}
629629
\ttindex{__class__}}
630630

631631
\item[Files]
632-
A file object represents an open file. File objects are created by the
633-
\function{open()} built-in function, and also by
634-
\function{os.popen()}, \function{os.fdopen()}, and the
635-
\method{makefile()} method of socket objects (and perhaps by other
636-
functions or methods provided by extension modules). The objects
637-
\code{sys.stdin}, \code{sys.stdout} and \code{sys.stderr} are
638-
initialized to file objects corresponding to the interpreter's
639-
standard input, output and error streams. See the \emph{Python
640-
Library Reference} for complete documentation of file objects.
641-
\obindex{file}
642-
\indexii{C}{language}
643-
\index{stdio}
644-
\bifuncindex{open}
645-
\withsubitem{(in module os)}{\ttindex{popen()}}
646-
\withsubitem{(socket method)}{\ttindex{makefile()}}
632+
A file\obindex{file} object represents an open file. File objects are
633+
created by the \function{open()}\bifuncindex{open} built-in function,
634+
and also by
635+
\withsubitem{(in module os)}{\ttindex{popen()}}\function{os.popen()},
636+
\function{os.fdopen()}, and the
637+
\method{makefile()}\withsubitem{(socket method)}{\ttindex{makefile()}}
638+
method of socket objects (and perhaps by other functions or methods
639+
provided by extension modules). The objects
640+
\ttindex{sys.stdin}\code{sys.stdin},
641+
\ttindex{sys.stdout}\code{sys.stdout} and
642+
\ttindex{sys.stderr}\code{sys.stderr} are initialized to file objects
643+
corresponding to the interpreter's standard\index{stdio} input, output
644+
and error streams. See the \citetitle[../lib/lib.html]{Python Library
645+
Reference} for complete documentation of file objects.
647646
\withsubitem{(in module sys)}{
648647
\ttindex{stdin}
649648
\ttindex{stdout}
650649
\ttindex{stderr}}
651-
\ttindex{sys.stdin}
652-
\ttindex{sys.stdout}
653-
\ttindex{sys.stderr}
650+
654651

655652
\item[Internal types]
656653
A few types used internally by the interpreter are exposed to the user.

0 commit comments

Comments
 (0)