From 16448bc666e032abd83096faadcda56f86f36f18 Mon Sep 17 00:00:00 2001 From: Andrew Tennikoff Date: Tue, 1 Sep 2020 05:16:05 +1000 Subject: [PATCH] docs: convert `print` statement to function (#988) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/google-api-python-client/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) Fixes #987 🦕 --- docs/start.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/start.md b/docs/start.md index 4caf706283f..2db95faed11 100644 --- a/docs/start.md +++ b/docs/start.md @@ -98,7 +98,7 @@ The response is a Python object built from the JSON response sent by the API ser ```python import json ... -print json.dumps(response, sort_keys=True, indent=4) +print(json.dumps(response, sort_keys=True, indent=4)) ``` For example, if the printed JSON is the following: