We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.5.2 (default, Aug 16 2016, 05:35:40) [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import h11 >>> h11.Response(status_code=200) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/riceb2/.pyenv/versions/nodinator/lib/python3.5/site-packages/h11/_events.py", line 41, in __init__ .format(kwarg, self.__class__.__name__)) TypeError: missing required kwarg status_code for Response >>> h11.Response(headers={}) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/riceb2/.pyenv/versions/nodinator/lib/python3.5/site-packages/h11/_events.py", line 41, in __init__ .format(kwarg, self.__class__.__name__)) TypeError: missing required kwarg headers for Response >>> h11.Response(status_code=200, headers={}) Response(status_code=200, headers=[], http_version=b'1.1') >>>
The text was updated successfully, but these errors were encountered:
Use correct variable when telling the user which kwarg they forgot.
3ea4ede
Fixes issue python-hyper#14.
Fixed by #15
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: