Skip to content

Add a dedicated documentation entry for tokenize.TokenInfo #160036

Open

Description

@johnslavik

Documentation

tokenize() and generate_tokens() return TokenInfo objects, but TokenInfo has no class entry in the documentation. Its fields and exact_type property are described inside the tokenize() documentation entry, which makes them hard to find by name or link to directly.

Consider moving those descriptions into a dedicated TokenInfo entry with individual attribute entries, and link to it from tokenize() and generate_tokens(). This would make the existing documentation easier to find without duplicating it.

cc @pablogsal @lysnikolaou

Linked PRs

Activity

  1. self-assigned this
    on Oct 21, 2026
  2. added 2 commits that reference this issue on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

  • Status
    Todo
  • Status
    Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions