X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28a15b3e4cec62df8020b953ae123fee11d15fd4..5d895c0bcda7282877ed78915283e0785b3bc0e3:/wxPython/SWIG/swig.python-docstring.patch diff --git a/wxPython/SWIG/swig.python-docstring.patch b/wxPython/SWIG/swig.python-docstring.patch index 03ede92d80..600cff333b 100644 --- a/wxPython/SWIG/swig.python-docstring.patch +++ b/wxPython/SWIG/swig.python-docstring.patch @@ -1,11 +1,11 @@ Index: Source/Modules/python.cxx =================================================================== RCS file: /cvsroot/SWIG/Source/Modules/python.cxx,v -retrieving revision 1.35 -diff -u -4 -r1.35 python.cxx ---- Source/Modules/python.cxx 13 Dec 2003 23:52:31 -0000 1.35 -+++ Source/Modules/python.cxx 19 Dec 2003 02:04:45 -0000 -@@ -54,8 +54,17 @@ +retrieving revision 1.39 +diff -u -4 -r1.39 python.cxx +--- Source/Modules/python.cxx 22 Jan 2004 22:42:17 -0000 1.39 ++++ Source/Modules/python.cxx 22 Jan 2004 23:39:03 -0000 +@@ -50,8 +50,17 @@ static int have_constructor; static int have_repr; static String *real_classname; @@ -224,7 +224,7 @@ diff -u -4 -r1.35 python.cxx + break; + + case AUTODOC_STATICFUNC: -+ Printf(doc, "%s.%s(%s)", class_name, symname, make_autodocParmList(n, showTypes)); ++ Printf(doc, "%s(%s)", symname, make_autodocParmList(n, showTypes)); + if (type) Printf(doc, " -> %s", type); + break; + @@ -309,7 +309,7 @@ diff -u -4 -r1.35 python.cxx * Check if there is a %addtofunc directive and it has text * ------------------------------------------------------------ */ -@@ -1700,9 +1963,11 @@ +@@ -1698,9 +1961,11 @@ Printf(f_shadow, modern ? "(object)" : "(_object)"); } } @@ -322,7 +322,7 @@ diff -u -4 -r1.35 python.cxx Printv(f_shadow,tab4,"__swig_setmethods__ = {}\n",NIL); if (Len(base_class)) { Printf(f_shadow,"%sfor _s in [%s]: __swig_setmethods__.update(_s.__swig_setmethods__)\n",tab4,base_class); -@@ -1835,16 +2100,22 @@ +@@ -1833,16 +2098,22 @@ Delete(pyaction); Printv(f_shadow,pycode,"\n",NIL); } else { @@ -352,7 +352,7 @@ diff -u -4 -r1.35 python.cxx } } -@@ -1859,14 +2130,20 @@ +@@ -1857,14 +2128,20 @@ virtual int staticmemberfunctionHandler(Node *n) { String *symname = Getattr(n,"sym:name"); Language::staticmemberfunctionHandler(n); @@ -377,7 +377,7 @@ diff -u -4 -r1.35 python.cxx " = staticmethod(", symname, ")\n", NIL); if (!modern) { -@@ -1951,8 +2228,10 @@ +@@ -1949,8 +2226,10 @@ } Printv(f_shadow, tab4, "def __init__(self, *args", @@ -388,7 +388,7 @@ diff -u -4 -r1.35 python.cxx if (!modern) { Printv(f_shadow, tab8, "_swig_setattr(self, ", rclassname, ", 'this', ", funcCallHelper(Swig_name_construct(symname), allow_kwargs), ")\n", NIL); -@@ -1966,9 +2245,9 @@ +@@ -1964,9 +2243,9 @@ Printv(f_shadow, tab8, "self.thisown = 1\n", NIL); Printv(f_shadow, tab8, "del newobj.thisown\n", NIL); } @@ -399,7 +399,7 @@ diff -u -4 -r1.35 python.cxx } have_constructor = 1; } else { -@@ -1984,8 +2263,10 @@ +@@ -1982,8 +2261,10 @@ } else { Printv(f_shadow_stubs, "\ndef ", symname, "(*args", @@ -410,7 +410,7 @@ diff -u -4 -r1.35 python.cxx funcCallHelper(Swig_name_construct(symname), allow_kwargs), "\n", NIL); Printv(f_shadow_stubs, tab4, "val.thisown = 1\n", NIL); if ( have_addtofunc(n) ) -@@ -2017,13 +2298,15 @@ +@@ -2015,13 +2296,15 @@ Delete(pyaction); Printv(f_shadow,pycode,"\n", NIL); } else {