(original) (raw)
Index: Doc/library/logging.rst =================================================================== --- Doc/library/logging.rst (revision 79873) +++ Doc/library/logging.rst (working copy) @@ -246,7 +246,7 @@ methods listed above, but this is how to log at custom log levels. :func:`getLogger` returns a reference to a logger instance with the specified -if it it is provided, or ``root`` if not. The names are period-separated +if it is provided, or ``root`` if not. The names are period-separated hierarchical structures. Multiple calls to :func:`getLogger` with the same name will return a reference to the same logger object. Loggers that are further down in the hierarchical list are children of loggers higher up in the list. @@ -290,7 +290,7 @@ Application code should not directly instantiate and use handlers. Instead, the :class:`Handler` class is a base class that defines the interface that all -Handlers should have and establishes some default behavior that child classes +handlers should have and establishes some default behavior that child classes can use (or override).