diff --git a/doc/conf.py b/doc/conf.py
index 55a22eebd..7be0c4b5f 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -41,9 +41,6 @@ VERSION_LABELS = True
_magnum_colors_src = re.compile(r"""0x(?P[0-9a-f]{6})(?P[0-9a-f]{2})?(?P_s?rgba?f?)""")
_magnum_colors_dst = r"""0x\g\g\g"""
-#def _add_color_swatch(str):
- #return
-
M_CODE_FILTERS_POST = {
'C++': lambda str: _magnum_colors_src.sub(_magnum_colors_dst, str)
}