mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 14:01:55 +08:00
Experiment: remove IntFlag from enum.auto (#12760)
comments in https://github.com/python/typeshed/issues/10384 suggest that type checkers should special case enum.auto rather than relying on the IntFlag hack. It's been a while since then, do we still need it?
This commit is contained in:
@@ -670,3 +670,8 @@ typing(_extensions)?\.IO\.__iter__ # See https://github.com/python/typeshed/com
|
||||
(xml.etree.cElementTree.XMLPullParser.flush)?
|
||||
(xml.parsers.expat.XMLParserType.GetReparseDeferralEnabled)?
|
||||
(xml.parsers.expat.XMLParserType.SetReparseDeferralEnabled)?
|
||||
|
||||
# enum.auto is magic, see comments
|
||||
enum.auto.__or__
|
||||
enum.auto.__and__
|
||||
enum.auto.__xor__
|
||||
|
||||
Reference in New Issue
Block a user