You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are use cases for capturing docopt exceptions such as DocoptExit. Unfortunately since docopt.py hides them through the __all__ statement this makes them effectively private.
The types-docopt package would cause mypy to error when using docopt.DocoptExit while doing exception handling in client code. This was fixed in python/typeshed#9839 but I believe docopt itself should declare these as public.
The text was updated successfully, but these errors were encountered:
There are use cases for capturing docopt exceptions such as DocoptExit. Unfortunately since docopt.py hides them through the
__all__
statement this makes them effectively private.The types-docopt package would cause mypy to error when using
docopt.DocoptExit
while doing exception handling in client code. This was fixed in python/typeshed#9839 but I believe docopt itself should declare these as public.The text was updated successfully, but these errors were encountered: