damccorm commented on code in PR #34912: URL: https://github.com/apache/beam/pull/34912#discussion_r2086853847
########## website/www/site/content/en/documentation/programming-guide.md: ########## @@ -1184,6 +1184,91 @@ func init() { </span> +{{< paragraph class="language-python">}} +Proper Use of return vs yield in Python Functions. +{{< /paragraph >}} + +{{< highlight python >}} +# Returning a single string instead of a sequence Review Comment: Rather than having a list of examples at the top, could we interleave these examples with the descriptions below? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org