mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
Fix warnings about object.__init__() signature.
Two (test_array and test_descr) were bug IMO; the third (copy_reg) is a work-around which recognizes that object.__init__() doesn't do anything.
This commit is contained in:
parent
01a807db2a
commit
ab8802a4f7
3 changed files with 2 additions and 3 deletions
|
@ -728,7 +728,6 @@ class CharacterTest(StringTest):
|
|||
return array.array.__new__(cls, 'c', s)
|
||||
|
||||
def __init__(self, s, color='blue'):
|
||||
array.array.__init__(self, 'c', s)
|
||||
self.color = color
|
||||
|
||||
def strip(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue