From efafe8e70b5fbf4fff00b04bd0dc9e862b628dae Mon Sep 17 00:00:00 2001 From: Stefan Zager Date: Wed, 6 Apr 2011 23:30:27 +0000 Subject: [PATCH] Fix example to show %feature directive before method declaration. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12613 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Doc/Manual/Python.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/Manual/Python.html b/Doc/Manual/Python.html index e7d458c4d..fac680825 100644 --- a/Doc/Manual/Python.html +++ b/Doc/Manual/Python.html @@ -2534,13 +2534,13 @@ slot:
+%feature("python:slot", "tp_hash", functype="hashfunc") Cheese::cheeseHashFunc;
+
 class Cheese {
 public:
     Cheese (const char *name);
     long cheeseHashFunc () const;
 };
-
-%feature("python:slot", "tp_hash", functype="hashfunc") Cheese::cheeseHashFunc;