mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 12:35:49 +08:00
[openpyxl] Fix stubs for openpyxl.descriptors.sequence.UniqueSequence.seq_types (#14725)
This commit is contained in:
committed by
GitHub
parent
4b0fec4506
commit
e129873f9b
@@ -187,7 +187,3 @@ openpyxl.worksheet.smart_tag.CellSmartTagPr.__init__
|
||||
openpyxl.worksheet.smart_tag.CellSmartTags.__init__
|
||||
openpyxl.worksheet.table.TableColumn.__init__
|
||||
openpyxl.worksheet.table.XMLColumnProps.__init__
|
||||
|
||||
# FIXME: new stubtest errors from mypy v1.18.1 that need to be looked at more closely.
|
||||
# See https://github.com/python/typeshed/pull/14699
|
||||
openpyxl.descriptors.sequence.UniqueSequence.seq_types
|
||||
|
||||
@@ -38,7 +38,7 @@ class Sequence(Descriptor[_ContainerT]):
|
||||
|
||||
# `_T` is the type of the elements in the sequence.
|
||||
class UniqueSequence(Sequence[set[_T]]):
|
||||
seq_types: tuple[type[list[_T]], type[tuple[_T, ...]], type[set[_T]]]
|
||||
seq_types: tuple[type, ...] # defaults to `list`, `tuple`, `set`
|
||||
container: type[set[_T]]
|
||||
|
||||
# See `Sequence` for the meaning of `_ContainerT`.
|
||||
|
||||
Reference in New Issue
Block a user