Add EnumMeta.__new__ & EnumMeta.__call__ (#6572)

This commit is contained in:
Alex Waygood
2021-12-13 11:33:54 +00:00
committed by GitHub
parent 88c8a5829e
commit c3cd88ba91
2 changed files with 64 additions and 3 deletions

View File

@@ -83,8 +83,6 @@ distutils.command.bdist_packager # It exists in docs as package name but not in
distutils.version.Version._cmp # class should have declared this
distutils.version.Version.parse # class should have declared this
email.headerregistry.BaseHeader.max_count # docs say subclasses should have this property
enum.EnumMeta.__call__
enum.EnumMeta.__new__
http.HTTPStatus.description # set in __new__
http.HTTPStatus.phrase # set in __new__
http.client.HTTPConnection.response_class # the actual type at runtime is abc.ABCMeta