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

Skip to content

Commit 1dde7b7

Browse files
committed
Typos detected by Sjoerd
1 parent c153d12 commit 1dde7b7

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

Doc/lib/libfuncs.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ \section{Built-in Functions}
265265
\code{fopen()}: \var{filename} is the file name to be opened,
266266
\var{mode} indicates how the file is to be opened: \code{'r'} for
267267
reading, \code{'w'} for writing (truncating an existing file), and
268-
\code{'a'} opens it for appending (which on {\em some} {\UNIX}
268+
\code{'a'} opens it for appending (which on {\em some} \UNIX{}
269269
systems means that {\em all} writes append to the end of the file,
270270
regardless of the current seek position).
271271
Modes \code{'r+'}, \code{'w+'} and

Doc/lib/libtypes.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ \subsection{Mapping Types}
492492
\indexii{dictionary}{type}
493493

494494
Dictionaries are created by placing a comma-separated list of
495-
\code{\var{key}:\,var{value}} pairs within braces, for example:
495+
\code{\var{key}:\,\var{value}} pairs within braces, for example:
496496
\code{\{'jack':\,4098, 'sjoerd':\,4127\}} or
497497
\code{\{4098:\,'jack', 4127:\,'sjoerd'\}}.
498498

@@ -683,7 +683,7 @@ \subsubsection{File Objects}
683683
you can tell whether the last line of a file ended in a newline
684684
or not (yes this happens!).}
685685
(but may be absent when a file ends with an
686-
incomplete line). If thevar{size} argument is present and
686+
incomplete line). If the \var{size} argument is present and
687687
non-negative, it is a maximum byte count (including the trailing
688688
newline) and an incomplete line may be returned.
689689
An empty string is returned when \EOF{} is hit
@@ -713,7 +713,7 @@ \subsubsection{File Objects}
713713
Truncate the file's size. If the optional size argument present, the
714714
file is truncated to (at most) that size. The size defaults to the
715715
current position. Availability of this function depends on the
716-
operating system version (e.g., not all {\UNIX} versions support this
716+
operating system version (e.g., not all \UNIX{} versions support this
717717
operation).
718718
\end{funcdesc}
719719

Doc/libfuncs.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ \section{Built-in Functions}
265265
\code{fopen()}: \var{filename} is the file name to be opened,
266266
\var{mode} indicates how the file is to be opened: \code{'r'} for
267267
reading, \code{'w'} for writing (truncating an existing file), and
268-
\code{'a'} opens it for appending (which on {\em some} {\UNIX}
268+
\code{'a'} opens it for appending (which on {\em some} \UNIX{}
269269
systems means that {\em all} writes append to the end of the file,
270270
regardless of the current seek position).
271271
Modes \code{'r+'}, \code{'w+'} and

Doc/libtypes.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ \subsection{Mapping Types}
492492
\indexii{dictionary}{type}
493493

494494
Dictionaries are created by placing a comma-separated list of
495-
\code{\var{key}:\,var{value}} pairs within braces, for example:
495+
\code{\var{key}:\,\var{value}} pairs within braces, for example:
496496
\code{\{'jack':\,4098, 'sjoerd':\,4127\}} or
497497
\code{\{4098:\,'jack', 4127:\,'sjoerd'\}}.
498498

@@ -683,7 +683,7 @@ \subsubsection{File Objects}
683683
you can tell whether the last line of a file ended in a newline
684684
or not (yes this happens!).}
685685
(but may be absent when a file ends with an
686-
incomplete line). If thevar{size} argument is present and
686+
incomplete line). If the \var{size} argument is present and
687687
non-negative, it is a maximum byte count (including the trailing
688688
newline) and an incomplete line may be returned.
689689
An empty string is returned when \EOF{} is hit
@@ -713,7 +713,7 @@ \subsubsection{File Objects}
713713
Truncate the file's size. If the optional size argument present, the
714714
file is truncated to (at most) that size. The size defaults to the
715715
current position. Availability of this function depends on the
716-
operating system version (e.g., not all {\UNIX} versions support this
716+
operating system version (e.g., not all \UNIX{} versions support this
717717
operation).
718718
\end{funcdesc}
719719

0 commit comments

Comments
 (0)