[New-bugs-announce] [issue38446] Ambiguous signature for builtins.__build_class__

Dan Snider report at bugs.python.org
Fri Oct 11 07:29:11 EDT 2019


New submission from Dan Snider <mr.assume.away at gmail.com>:

The function has the following signature documented:

    __build_class__(func, name, *bases, metaclass=None, **kwds) 

This implies that `func` and `name` are not positional only parameters when in fact, they are. Another problem with that signature is that None is not a valid value for the metaclass parameter.

----------
messages: 354442
nosy: bup
priority: normal
severity: normal
status: open
title: Ambiguous signature for builtins.__build_class__

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38446>
_______________________________________


More information about the New-bugs-announce mailing list