python_armor.py
27 lines
| 977 B
| text/x-python
|
PythonLexer
Jonathan Frederic
|
r10639 | """TODO: Docstring | ||
""" | ||||
#----------------------------------------------------------------------------- | ||||
# Copyright (c) 2013, the IPython Development Team. | ||||
# | ||||
# Distributed under the terms of the Modified BSD License. | ||||
# | ||||
# The full license is in the file COPYING.txt, distributed with this software. | ||||
#----------------------------------------------------------------------------- | ||||
#----------------------------------------------------------------------------- | ||||
# Imports | ||||
#----------------------------------------------------------------------------- | ||||
# local import | ||||
import python.PythonExporter | ||||
from IPython.utils.traitlets import Unicode | ||||
#----------------------------------------------------------------------------- | ||||
# Classes | ||||
#----------------------------------------------------------------------------- | ||||
class PythonArmorExporter(python.PythonExporter): | ||||
template_file = Unicode( | ||||
'python_armor', config=True, | ||||
help="Name of the template file to use") | ||||