Skip to content

Clarify custom prompts example#15180

Merged
Carreau merged 1 commit intoipython:mainfrom
wjandrea:patch-3
Apr 10, 2026
Merged

Clarify custom prompts example#15180
Carreau merged 1 commit intoipython:mainfrom
wjandrea:patch-3

Conversation

@wjandrea
Copy link
Copy Markdown
Collaborator

@wjandrea wjandrea commented Apr 6, 2026

Import Token directly from pygments.token instead of using the middleman IPython.terminal.prompts.
This is mainly because Token is not documented at IPython.terminal.prompts.

Import `Token` directly from `pygments.token`
instead of using the middleman `IPython.terminal.prompts`.
This is mainly because `Token` is not documented at `IPython.terminal.prompts`.
@Carreau Carreau merged commit 9ec726a into ipython:main Apr 10, 2026
20 checks passed
@wjandrea wjandrea deleted the patch-3 branch April 12, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants