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

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>
Doc/faq/programming.rst