pygobject r1063 - in trunk: . codegen
- From: paulp svn gnome org
- To: svn-commits-list gnome org
- Subject: pygobject r1063 - in trunk: . codegen
- Date: Tue, 14 Apr 2009 20:27:01 +0000 (UTC)
Author: paulp
Date: Tue Apr 14 20:27:01 2009
New Revision: 1063
URL: http://svn.gnome.org/viewvc/pygobject?rev=1063&view=rev
Log:
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__.
Modified:
trunk/ChangeLog
trunk/codegen/definitions.py
Modified: trunk/codegen/definitions.py
==============================================================================
--- trunk/codegen/definitions.py (original)
+++ trunk/codegen/definitions.py Tue Apr 14 20:27:01 2009
@@ -39,7 +39,7 @@
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]