File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ \section{\module{spam} ---
8484
8585\begin {funcdesc }{open}{filename\optional {, mode\optional {, buffersize}}}
8686Open the file \var {filename} as a can of Spam. The optional
87- \var {mode} and \var {buffersize} arguments specify the read- write mode
87+ \var {mode} and \var {buffersize} arguments specify the read/ write mode
8888(\code {'r'} (default) or \code {'w'}) and the buffer size (default:
8989system dependent).
9090\end {funcdesc }
@@ -101,7 +101,9 @@ \section{\module{spam} ---
101101
102102% --- 3.3. ---
103103% Exceptions are described using a ``excdesc'' block. This has only
104- % one parameter: the exception name.
104+ % one parameter: the exception name. Exceptions defined as classes in
105+ % the source code should be documented using this environment, but
106+ % constructor parameters must be ommitted.
105107
106108\begin {excdesc }{error}
107109Exception raised when an operation fails for a Spam specific reason.
@@ -129,8 +131,7 @@ \section{\module{spam} ---
129131% an example giving the flavor of the module may be given before the
130132% detailed list of functions.)
131133
132- \subsection {Example }
133- \nodename {Spam Example}
134+ \subsection {Example \label {spam-example } }
134135
135136The following example demonstrates how to open a can of spam using the
136137\module {spam} module.
You can’t perform that action at this time.
0 commit comments