mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Exporter -> TemplateExporter / BaseExporter
This commit is contained in:
parent
4fc0465f42
commit
8c6665ab4c
@ -15,13 +15,13 @@ Python exporter which exports Notebook code into a PY file.
|
|||||||
|
|
||||||
from IPython.utils.traitlets import Unicode
|
from IPython.utils.traitlets import Unicode
|
||||||
|
|
||||||
from .exporter import Exporter
|
from .exporter import TemplateExporter
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Classes
|
# Classes
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|
||||||
class PythonExporter(Exporter):
|
class PythonExporter(TemplateExporter):
|
||||||
"""
|
"""
|
||||||
Exports a Python code file.
|
Exports a Python code file.
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user