diff options
| author | Anthony Sottile <asottile@umich.edu> | 2019-08-10 18:28:32 -0700 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2019-08-17 20:09:45 -0700 |
| commit | b66ebd7034090f96cb0806e5e2d8026b6e35d045 (patch) | |
| tree | a354bc5e4b62fd2949e16c1d404b9ccc5ec1c041 /docs/source/internal | |
| parent | 03cb85f556b61d408a578becab50936ba2c246e7 (diff) | |
| download | flake8-b66ebd7034090f96cb0806e5e2d8026b6e35d045.tar.gz | |
move from optparse to argparse
Diffstat (limited to 'docs/source/internal')
| -rw-r--r-- | docs/source/internal/option_handling.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/internal/option_handling.rst b/docs/source/internal/option_handling.rst index 86b7021..dd76706 100644 --- a/docs/source/internal/option_handling.rst +++ b/docs/source/internal/option_handling.rst @@ -28,7 +28,7 @@ undocumented attribute that pep8 looks for, |Flake8| 3 now accepts a parameter to ``add_option``, specifically ``parse_from_config`` which is a boolean value. -|Flake8| does this by creating its own abstractions on top of :mod:`optparse`. +|Flake8| does this by creating its own abstractions on top of :mod:`argparse`. The first abstraction is the :class:`flake8.options.manager.Option` class. The second is the :class:`flake8.options.manager.OptionManager`. In fact, we add three new parameters: @@ -219,7 +219,7 @@ API Documentation .. autofunction:: flake8.options.aggregator.aggregate_options .. autoclass:: flake8.options.manager.Option - :members: __init__, normalize, to_optparse + :members: __init__, normalize, to_argparse .. autoclass:: flake8.options.manager.OptionManager :members: |
