From de2a5f43320288ed29023564574e299f2d254160 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 12 Nov 2015 16:54:47 +0300 Subject: [PATCH] Remove redundant json import. --- docs/user/quickstart.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst index 5117ed0c..1ff66593 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -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'}