]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed autodoc for static methods
authorRobin Dunn <robin@alldunn.com>
Fri, 23 Jan 2004 00:12:34 +0000 (00:12 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 23 Jan 2004 00:12:34 +0000 (00:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/SWIG/swig.python-docstring.patch

index 39a79c6f50c2cd8490c72f9fbcb8b458e21239f6..600cff333ba3d0fce559f6542c6de74e496d641a 100644 (file)
@@ -4,7 +4,7 @@ RCS file: /cvsroot/SWIG/Source/Modules/python.cxx,v
 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 22:51:35 -0000
++++ Source/Modules/python.cxx  22 Jan 2004 23:39:03 -0000
 @@ -50,8 +50,17 @@
  static  int       have_constructor;
  static  int       have_repr;
@@ -224,7 +224,7 @@ diff -u -4 -r1.39 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;
 +