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:
justinpawela
2018-07-09 19:59:34 -06:00
committed by Jelle Zijlstra
parent c541077ffb
commit 2a888416b2
2 changed files with 59 additions and 59 deletions

View File

@@ -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