Skip to content

Openpyxl: type cell values - #13929

Merged
srittau merged 1 commit into
python:mainfrom
Avasam:openpyxl-type-cell-values
May 5, 2025
Merged

srittau merged 1 commit into
python:mainfrom
Avasam:openpyxl-type-cell-values

Conversation

@Avasam

@Avasam Avasam commented May 3, 2025 •

Copy link
Copy Markdown
Collaborator

Closes #9511

The special cases are:

  • Assigning bytes to Cell.value is valid but will result in a str
  • MergedCell.value should always be None
  • Cell value unions in invariant generics have been replaced by an Any TypeAlias

@github-actions

github-actions Bot commented May 3, 2025

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
srittau merged commit 61b54b4 into python:main May 5, 2025
@Avasam
Avasam deleted the openpyxl-type-cell-values branch May 5, 2025 13:31
mmingyu pushed a commit to mmingyu/typeshed that referenced this pull request May 16, 2025
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.

2 participants