mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +00:00
Merge pull request #1718 from bagerard/fix_OptionManager_docstring
fix OptionManager outdated docstring
This commit is contained in:
commit
86268cbde8
1 changed files with 1 additions and 12 deletions
|
|
@ -319,18 +319,7 @@ class OptionManager:
|
|||
parents: list[argparse.ArgumentParser],
|
||||
formatter_names: list[str],
|
||||
) -> None:
|
||||
"""Initialize an instance of an OptionManager.
|
||||
|
||||
:param prog:
|
||||
Name of the actual program (e.g., flake8).
|
||||
:param version:
|
||||
Version string for the program.
|
||||
:param usage:
|
||||
Basic usage string used by the OptionParser.
|
||||
:param parents:
|
||||
A list of ArgumentParser objects whose arguments should also be
|
||||
included.
|
||||
"""
|
||||
"""Initialize an instance of an OptionManager."""
|
||||
self.formatter_names = formatter_names
|
||||
self.parser = argparse.ArgumentParser(
|
||||
prog="flake8",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue