Staging
v0.5.1
https://github.com/python/cpython
Revision 6860cf5387dafde29ef3b6cae775593f64571c42 authored by Miss Islington (bot) on 09 August 2020, 18:54:26 UTC, committed by GitHub on 09 August 2020, 18:54:26 UTC

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>
1 parent 462b095
History
Tip revision: 6860cf5387dafde29ef3b6cae775593f64571c42 authored by Miss Islington (bot) on 09 August 2020, 18:54:26 UTC
Doc: Add output to example code in programming FAQ (GH-21346)
Tip revision: 6860cf5
File Mode Size
workflows
CODEOWNERS -rw-r--r-- 3.9 KB
CONTRIBUTING.rst -rw-r--r-- 2.4 KB
FUNDING.yml -rw-r--r-- 57 bytes
PULL_REQUEST_TEMPLATE.md -rw-r--r-- 700 bytes
SECURITY.md -rw-r--r-- 530 bytes
codecov.yml -rw-r--r-- 485 bytes

back to top