Author boris
Recipients boris, docs@python
Date 2020-04-16.17:31:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
As far as I can tell, passing `(object,)` and `()` as the `bases` parameter to the 3-argument version of type() produces the same result, because classes inherit from `object` in Python 3:

>>> type('X', (object,), dict(a=1)).__bases__
(<class 'object'>,)
>>> type('X', (), dict(a=1)).__bases__
(<class 'object'>,)

I just want to make sure I'm not missing something and update the documentation of `type()` to reflect that.
Date User Action Args
2020-04-16 17:31:50borissetrecipients: + boris, docs@python
2020-04-16 17:31:50borissetmessageid: <>
2020-04-16 17:31:50borislinkissue40304 messages
2020-04-16 17:31:49boriscreate