From 478f3244bf06c70e1dcaf5c2fb174b05894aacb2 Mon Sep 17 00:00:00 2001 From: Matthias BUSSONNIER Date: Tue, 11 Jun 2013 22:29:25 +0200 Subject: [PATCH] fix config inheriting --- nbconvert/exporters/python.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/nbconvert/exporters/python.py b/nbconvert/exporters/python.py index 8ef6c0c4b..f81a74445 100644 --- a/nbconvert/exporters/python.py +++ b/nbconvert/exporters/python.py @@ -34,26 +34,3 @@ class PythonExporter(exporter.Exporter): template_file = Unicode( 'python', config=True, help="Name of the template file to use") - - - def __init__(self, transformers=None, filters=None, config=None, **kw): - """ - Public constructor - - Parameters - ---------- - transformers : list[of transformer] - Custom transformers to apply to the notebook prior to engaging - the Jinja template engine. Any transformers specified here - will override existing transformers if a naming conflict - occurs. - filters : dict{of filter} - Custom filters to make accessible to the Jinja templates. Any - filters specified here will override existing filters if a - naming conflict occurs. - config : config - User configuration instance. - """ - - #Call base class constructor. - super(PythonExporter, self).__init__(transformers, filters, config, **kw)