Skip to content

docs: clarify _repr_pretty_ plain-text context - #15406

Draft
Marwan-verse wants to merge 1 commit into
ipython:mainfrom
Marwan-verse:docs/repr-pretty-context-12992
Draft

Marwan-verse wants to merge 1 commit into
ipython:mainfrom
Marwan-verse:docs/repr-pretty-context-12992

Conversation

@Marwan-verse

@Marwan-verse Marwan-verse commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

AI-assisted contribution: I checked the current formatter implementation and updated the integrating guide to explain that _repr_pretty_ customizes plain-text output, while the other rich display hooks provide additional formats. This addresses the distinction requested in #12992.

Closes #12992.

Validation: Not run (documentation-only change).

@Carreau Carreau changed the title docs: clarify _repr_pretty_ plain-text context 🤖🤖 docs: clarify _repr_pretty_ plain-text context Oct 21, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation for _repr_pretty_ is confusing

1 participant