]> granicus.if.org Git - python/commitdiff
Fix an amazing number of typos & malformed sentences reported by Detlef
authorFred Drake <fdrake@acm.org>
Fri, 19 Feb 1999 17:54:10 +0000 (17:54 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 19 Feb 1999 17:54:10 +0000 (17:54 +0000)
Lannert <lannert@uni-duesseldorf.de>.

Doc/lib/libbisect.tex
Doc/lib/liblocale.tex
Doc/lib/libposixpath.tex
Doc/lib/libsyslog.tex
Doc/lib/libtime.tex
Doc/lib/libuser.tex
Doc/lib/libxmllib.tex

index 246d6c7730a58acfa0d7c5ff5a2c28e8ae83bdd4..e36cf0e7959b2f185cb5a4df883374bb606ae743 100644 (file)
@@ -15,9 +15,8 @@ without having to sort the list after each insertion.  For long lists
 of items with expensive comparison operations, this can be an
 improvement over the more common approach.  The module is called
 \module{bisect} because it uses a basic bisection algorithm to do its
-work.  The source code may be used a useful reference for a working
-example of the algorithm (i.e., the boundary conditions are already
-right!).
+work.  The source code may be most useful as a working example of the
+algorithm (i.e., the boundary conditions are already right!).
 
 The following functions are provided:
 
index d70ffcfdc20b636be0c73daaf19f75f8f37f26f6..d95b733931c0322edb2f627b25c05787e6876a81 100644 (file)
@@ -7,8 +7,8 @@
 
 
 The \code{locale} module opens access to the \POSIX{} locale database
-and functionality. The \POSIX{} locale mechanism allows applications
-to integrate certain cultural aspects into an applications, without
+and functionality. The \POSIX{} locale mechanism allows programmers
+to deal with certain cultural issues in an application, without
 requiring the programmer to know all the specifics of each country
 where the software is executed.
 
@@ -270,7 +270,7 @@ settings to what the user requests, extract the relevant
 characteristics, and then restore the \samp{C} numeric locale.
 
 When Python code uses the \module{locale} module to change the locale,
-this also affect the embedding application.  If the embedding
+this also affects the embedding application.  If the embedding
 application doesn't want this to happen, it should remove the
 \module{_locale} extension module (which does all the work) from the
 table of built-in modules in the \file{config.c} file, and make sure
index e467e4662365cdd919af3feb64f6e66263871b99..bf843d19cb177994749d156182866a668a02ff35 100644 (file)
@@ -54,9 +54,11 @@ unchanged.  On the Macintosh, this always returns \var{path}
 unchanged.
 \end{funcdesc}
 
-\begin{funcdesc}{getsize}{path}
-Return the size, in bytes, of \var{filename}.  Raise
-\exception{os.error} if the file does not exist or is inaccessible.
+\begin{funcdesc}{getatime}{path}
+Return the time of last access of \var{filename}.  The return
+value is integer giving the number of seconds since the epoch (see the 
+\refmodule{time} module).  Raise \exception{os.error} if the file does
+not exist or is inaccessible.
 \versionadded{1.5.2}
 \end{funcdesc}
 
@@ -68,11 +70,9 @@ not exist or is inaccessible.
 \versionadded{1.5.2}
 \end{funcdesc}
 
-\begin{funcdesc}{getatime}{path}
-Return the time of last access of \var{filename}.  The return
-value is integer giving the number of seconds since the epoch (see the 
-\refmodule{time} module).  Raise \exception{os.error} if the file does
-not exist or is inaccessible.
+\begin{funcdesc}{getsize}{path}
+Return the size, in bytes, of \var{filename}.  Raise
+\exception{os.error} if the file does not exist or is inaccessible.
 \versionadded{1.5.2}
 \end{funcdesc}
 
index 70a05be1543bd9466b69de3d99d38acc6fbaa38b..1068db91baa93bc6e45fd4f2eb07aeeb4421d68e 100644 (file)
@@ -39,7 +39,7 @@ Close the log file.
 \end{funcdesc}
 
 \begin{funcdesc}{setlogmask}{maskpri}
-This function set the priority mask to \var{maskpri} and returns the
+Set the priority mask to \var{maskpri} and return the
 previous mask value.  Calls to \function{syslog()} with a priority
 level not set in \var{maskpri} are ignored.  The default is to log all
 priorities.  The function \code{LOG_MASK(\var{pri})} calculates the
@@ -48,6 +48,7 @@ mask for the individual priority \var{pri}.  The function
 to and including \var{pri}.
 \end{funcdesc}
 
+
 The module defines the following constants:
 
 \begin{description}
index 0e14f4cbe436d5e09a94959d2dcfa93d76671b66..82007f722c13ee159497b3d4457867a5ee19e02a 100644 (file)
@@ -35,7 +35,7 @@ supported if the module variable \code{accept2dyear} is a non-zero
 integer; this variable is initialized to \code{1} unless the
 environment variable \envvar{PYTHONY2K} is set to a non-empty string,
 in which case it is initialized to \code{0}.  Thus, you can set
-\envvar{PYTHONY2K} in the environment to \code{x} to require 4-digit
+\envvar{PYTHONY2K} to a non-empty string in the environment to require 4-digit
 years for all year input.  When 2-digit years are accepted, they are
 converted according to the \POSIX{} or X/Open standard: values 69-99
 are mapped to 1969-1999, and values 0--68 are mapped to 2000--2068.
index 484af7ee094e97768fc0a15a519ab61ba733556d..9e9c6edbf8d0828fe2e741c74e6a050f46a7fe4d 100644 (file)
@@ -57,7 +57,7 @@ Programs with extensive customization needs are better off reading a
 program-specific customization file.
 
 Programs with security or privacy concerns should \emph{not} import
-this module; a user can easily break into a program by placing
+this module; a user can easily break into a program by placing
 arbitrary code in the \file{.pythonrc.py} file.
 
 Modules for general use should \emph{not} import this module; it may
index 0a097f49bdc3add1cdfce6cddd64c1b7f08df5a8..b19da6d9fa228d9b7f27f2ae861bf48059442b5a 100644 (file)
@@ -75,7 +75,7 @@ redefined version should always call \method{close()}.
 
 \begin{methoddesc}{translate_references}{data}
 Translate all entity and character references in \var{data} and
-returns the translated string.
+return the translated string.
 \end{methoddesc}
 
 \begin{methoddesc}{handle_xml}{encoding, standalone}