GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Inaccurate terminology in the “Generator functions” section · Issue #156837 · python/cpython Closed Labels docsDocumentation in the Doc dirDocumentation in the Doc dir DescriptionDocumentationThe wording in section 3.2.8.3 is potentially misleading:
and later:
yield is not necessarily a yield statement (yield_stmt in the grammar). It can also occur as part of an expression, for example: Here yield 5 is a yield expression, but f is still a generator function. It may be more accurate to refer to a function that contains a yield expression rather than one that “uses the yield statement”. Linked PRs
Activity
MetadataMetadataAssigneesLabelsdocsDocumentation in the Doc dirDocumentation in the Doc dir Projects
MilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |