Skip to content

Commit

Permalink
fixup! intersphinx: Create an _InventoryItem type
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Jan 16, 2025
1 parent cb7e856 commit fdeaf6a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sphinx/util/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,10 @@ def __init__(
uri: str,
display_name: str,
) -> None:
self.project_name = project_name
self.project_version = project_version
self.uri = uri
self.display_name = display_name
object.__setattr__(self, 'project_name', project_name)
object.__setattr__(self, 'project_version', project_version)
object.__setattr__(self, 'uri', uri)
object.__setattr__(self, 'display_name', display_name)

def __repr__(self) -> str:
return (
Expand Down

0 comments on commit fdeaf6a

Please sign in to comment.