From 8b7876b5b2ab5b159ac5f4398667273544aca686 2013-11-14 01:12:16 From: Min RK Date: 2013-11-14 01:12:16 Subject: [PATCH] Merge pull request #4532 from takluyver/sphinx-1.2-dynamic-metaclasses Hide dynamically defined metaclass base from Sphinx. --- diff --git a/IPython/utils/py3compat.py b/IPython/utils/py3compat.py index 7719a79..edd7b7d 100644 --- a/IPython/utils/py3compat.py +++ b/IPython/utils/py3compat.py @@ -239,4 +239,4 @@ else: def with_metaclass(meta, *bases): """Create a base class with a metaclass.""" - return meta("NewBase", bases, {}) + return meta("_NewBase", bases, {})