Closed wRAR closed 1 year ago
parsel.selector._ctgroup, used to switch between mode implementations, is an untyped dict of dicts, it makes sense to change it into something cleaner as it's a private var.
parsel.selector._ctgroup
TypedDict could be used, though maybe it's easier to just use a normal dataclass or something similar (especially as TypedDict doesn't exist in 3.7).
TypedDict
Implemented in #181.
parsel.selector._ctgroup
, used to switch between mode implementations, is an untyped dict of dicts, it makes sense to change it into something cleaner as it's a private var.