Skip to content

[3.8] Doc: Add output to example code in programming FAQ (GH-21346)#21791

Merged
miss-islington merged 1 commit intopython:3.8from
miss-islington:backport-67acf74-3.8
Aug 9, 2020
Merged

[3.8] Doc: Add output to example code in programming FAQ (GH-21346)#21791
miss-islington merged 1 commit intopython:3.8from
miss-islington:backport-67acf74-3.8

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Aug 8, 2020

Add output hint to document, part faq/programming, section 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 67acf74)

Co-authored-by: Jiajie Zhong zhongjiajie955@hotmail.com

Automerge-Triggered-By: @merwok

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 67acf74)

Co-authored-by: Jiajie Zhong <zhongjiajie955@hotmail.com>
@miss-islington
Copy link
Copy Markdown
Contributor Author

@zhongjiajie: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit f421865 into python:3.8 Aug 9, 2020
@miss-islington miss-islington deleted the backport-67acf74-3.8 branch August 9, 2020 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants