Skip to content

Commit

Permalink
Merge pull request #545 from davidbrochart/fix_typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed May 31, 2020
2 parents 39f3bd8 + 87137c0 commit ba3987f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/source/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ configuration attributes::

Here, ``ClassName`` is the name of the class whose configuration attribute you
want to set, ``attribute_name`` is the name of the attribute you want to set
and ``attribute_value`` the the value you want it to have. The ``ClassName``
and ``attribute_value`` the value you want it to have. The ``ClassName``
attribute of ``c`` is not the actual class, but instead is another
:class:`~traitlets.config.Config` instance.

Expand Down Expand Up @@ -295,24 +295,24 @@ and no spaces.

.. note::

By default any error in configuration files with lead to this configuration
file be ignored by default. Application subclasses may specify
Any error in configuration files which lead to this configuration
file will be ignored by default. Application subclasses may specify
`raise_config_file_errors = True` to exit on failure to load config files,
instead of the default of logging the failures.

.. versionadded:: 4.3

The environement variable ``TRAITLETS_APPLICATION_RAISE_CONFIG_FILE_ERROR``
to ``'1'`` or ``'true'`` to change the defautl value of ``raise_config_file_errors``.
to ``'1'`` or ``'true'`` to change the default value of ``raise_config_file_errors``.


Common Arguments
----------------

Since the strictness and verbosity of the KVLoader above are not ideal for everyday
use, common arguments can be specified as flags_ or aliases_.
Since the strictness and verbosity of the :class:`~traitlets.config.loader.KeyValueLoader`
above are not ideal for everyday use, common arguments can be specified as flags_ or aliases_.

Flags and Aliases are handled by :mod:`argparse` instead, allowing for more flexible
Flags and aliases are handled by :mod:`argparse` instead, allowing for more flexible
parsing. In general, flags and aliases are prefixed by ``--``, except for those
that are single characters, in which case they can be specified with a single ``-``, e.g.:

Expand Down

0 comments on commit ba3987f

Please sign in to comment.