diff options
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | codegen/definitions.py | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2009-04-14 James Westby <jw+debian@jameswestby.net> + + Bug 573753 – DeprecationWarning under python 2.6 + + * codegen/definitions.py (ReturnType.__init__): Don't pass + 'type_name' argument to super __init__. + 2009-04-14 Krzesimir Nowak <krnowak@svn.gnome.org> Bug 576566 – several scripts from codegen directory are not diff --git a/codegen/definitions.py b/codegen/definitions.py index 6249d78..88b6cdb 100644 --- a/codegen/definitions.py +++ b/codegen/definitions.py @@ -39,7 +39,7 @@ class ReturnType(str): def __new__(cls, *args, **kwds): return str.__new__(cls, *args[:1]) def __init__(self, type_name, optional=False): - str.__init__(self, type_name) + str.__init__(self) self.optional = optional # Parameter for property based constructors |
