[docs] [issue17179] Misleading error from type() when passing unknown keyword argument

Nick Coghlan report at bugs.python.org
Mon Feb 18 10:53:40 CET 2013


Nick Coghlan added the comment:

For the simple case where you don't need to provide a metaclass hint, the simplest conversion is actually directly to the 3-argument form of type().

As far as the docstring goes, I don't want to make it as long as the full docs, but it could probably stand to be longer than it is.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17179>
_______________________________________


More information about the docs mailing list