]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] Doc: Add output to example code in programming FAQ (GH-21346) (GH-21791)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 9 Aug 2020 18:54:33 +0000 (11:54 -0700)
committerGitHub <noreply@github.com>
Sun, 9 Aug 2020 18:54:33 +0000 (11:54 -0700)
commitf421865c76a34a80c57350bcfbde664f4e80313d
tree70e95da1008ab5a1a7435a9156d3d5f91a69554b
parent692552388d0d89523416eac24f436dafa2bb4914
[3.8] Doc: Add output to example code in programming FAQ (GH-21346) (GH-21791)

Add output hint to document, part faq/programming, section [How do I write a function with output parameters (call by reference)?](https://docs.python.org/3/faq/programming.htmlGH-how-do-i-write-a-function-with-output-parameters-call-by-reference).

This patch make the output hint just like prefix code block.
(cherry picked from commit 67acf74c4eaf64a860cc1bcda6efe6e9cb01f89b)

Co-authored-by: Jiajie Zhong <zhongjiajie955@hotmail.com>
Automerge-Triggered-By: @merwok
Doc/faq/programming.rst