FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Missing ParserError in dateutils.parser · Issue #4299 · python/typeshed · GitHub

Missing ParserError in dateutils.parser #4299

Description

It seems the ParserError is missing in dateutil/parser stubs file.

Error:

module.py:12: error: Module 'dateutil.parser' has no attribute 'ParserError'
Found 1 error in 1 file (checked 1 source file)

Dateutil dir:

>>> import dateutil.parser
>>> dir(dateutil.parser)
['DEFAULTPARSER', 'DEFAULTTZPARSER', 'ParserError', 'UnknownTimezoneWarning', '__all__', '__builtins__', '__cached__', '__deprecate_private_class', '__deprecated_private_func', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '_parser', '_parsetz', '_resultbase', '_timelex', '_tzparser', 'isoparse', 'isoparser', 'parse', 'parser', 'parserinfo']

Packages versions

mypy==0.770
mypy-extensions==0.4.3
> python --version
Python 3.8.3

Edit: add Python version

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stubs: incompleteAnnotations or sub-modules missing from an existing package or module

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL