From 39f86af88f9ed7d0ff922aab5bb7c9da95f2c730 Mon Sep 17 00:00:00 2001
From: Marcus Mueller <gr@mueller-marcus.eu>
Date: Fri, 10 Feb 2012 11:13:46 -0500
Subject: docs: swig_docs don't look at operators when building Python
 documentation.

---
 docs/doxygen/swig_doc.py | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'docs/doxygen/swig_doc.py')

diff --git a/docs/doxygen/swig_doc.py b/docs/doxygen/swig_doc.py
index 4148a546b3..cac784cfe4 100644
--- a/docs/doxygen/swig_doc.py
+++ b/docs/doxygen/swig_doc.py
@@ -98,6 +98,8 @@ def make_entry(obj, name=None, templ="{description}", description=None):
     """
     if name is None:
         name=obj.name()
+    if "operator " in name:
+        return ''
     if description is None:
         description = combine_descriptions(obj)
     docstring = templ.format(description=description)
-- 
cgit v1.2.3