Merge pull request #2878 from kiddick/master

Remove redundant json import.
This commit is contained in:
Cory Benfield
2015-11-12 13:56:55 +00:00
-1
View File
@@ -238,7 +238,6 @@ For example, the GitHub API v3 accepts JSON-Encoded POST/PATCH data::
Instead of encoding the ``dict`` yourself, you can also pass it directly using
the ``json`` parameter (added in version 2.4.2) and it will be encoded automatically::
>>> import json
>>> url = 'https://api.github.com/some/endpoint'
>>> payload = {'some': 'data'}