Skip to content

gh-138191: Document frame.f_generator in the data model - #138540

Merged
AA-Turner merged 6 commits into
python:mainfrom
dbXD320:doc-add-f_generator
Sep 5, 2025
Merged

gh-138191: Document frame.f_generator in the data model#138540
AA-Turner merged 6 commits into
python:mainfrom
dbXD320:doc-add-f_generator

Conversation

@dbXD320

@dbXD320dbXD320 commented Sep 5, 2025

Copy link
Copy Markdown
Contributor

This PR adds the f_generator attribute to the Data model documentation page
(Doc/reference/datamodel.rst).

The f_generator attribute was already described in inspect.rst but was missing
from datamodel.rst. This change ensures that the Data model page is consistent
with the inspection documentation and fully documents all frame object attributes.

Additionally, an index entry for f_generator has been added so it appears in the
documentation search.

fixes#138191


📚 Documentation preview 📚: https://cpython-previews--138540.org.readthedocs.build/

@python-cla-bot

python-cla-botBot commented Sep 5, 2025

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

Comment threadDoc/reference/datamodel.rst Outdated
Comment threadDoc/reference/datamodel.rst Outdated
Comment threadDoc/reference/datamodel.rst Outdated
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@AA-TurnerAA-Turner changed the title gh-138191: Add f_generator attribute to datamodel page gh-138191: Document frame.f_generator in the data modelSep 5, 2025
Comment threadDoc/reference/datamodel.rst
@AA-TurnerAA-Turner added the needs backport to 3.14 bugs and security fixes label Sep 5, 2025
Comment threadDoc/reference/datamodel.rst Outdated
Comment threadDoc/reference/datamodel.rst
@AA-Turner
AA-Turner enabled auto-merge (squash) September 5, 2025 17:07
@AA-Turner
AA-Turner merged commit e5c5830 into python:mainSep 5, 2025
27 checks passed
@github-project-automationgithub-project-automationBot moved this from Todo to Done in Docs PRsSep 5, 2025
@miss-islington-app

Copy link
Copy Markdown

Thanks @dbXD320 for the PR, and @AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 5, 2025
…thonGH-138540)
(cherry picked from commit e5c5830)
Co-authored-by: dbXD320 <devanshbaghla320@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@bedevere-app

Copy link
Copy Markdown

GH-138553 is a backport of this pull request to the 3.14 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.14 bugs and security fixes label Sep 5, 2025
hugovk pushed a commit that referenced this pull request Sep 6, 2025
…H-138540) (#138553)
Co-authored-by: dbXD320 <devanshbaghla320@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@dbXD320
dbXD320 deleted the doc-add-f_generator branch September 7, 2025 09:06
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
…del (pythonGH-138540) (python#138553)
Co-authored-by: dbXD320 <devanshbaghla320@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
lkollar pushed a commit to lkollar/cpython that referenced this pull request Sep 9, 2025
…thon#138540)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Datamodel's description of frameobject missing the new f_generator attribute

4 participants

@dbXD320@AA-Turner@ZeroIntensity@Devansh-b