mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-06 09:57:41 +08:00
Remove annotations from http.HTTPStatus enum members (#2314)
These type annotations are unnecessary and seem to confuse the type system. * Remove annotation from PlistFormat enum members Same rationale as python/typeshed#2314; same adverse effects observed.
This commit is contained in:
committed by
Jelle Zijlstra
parent
c541077ffb
commit
2a888416b2
@@ -10,8 +10,8 @@ if sys.version_info >= (3,):
|
||||
from enum import Enum
|
||||
|
||||
class PlistFormat(Enum):
|
||||
FMT_XML = ... # type: PlistFormat
|
||||
FMT_BINARY = ... # type: PlistFormat
|
||||
FMT_XML = ...
|
||||
FMT_BINARY = ...
|
||||
FMT_XML = PlistFormat.FMT_XML
|
||||
FMT_BINARY = PlistFormat.FMT_BINARY
|
||||
|
||||
|
||||
Reference in New Issue
Block a user