##// END OF EJS Templates
Use tokenize.NL and tokenize.NEWLINE in the check_complete logic...
Use tokenize.NL and tokenize.NEWLINE in the check_complete logic These changes are necessary for a failure on Python 3.7 dev https://bugs.python.org/issue33899

File last commit:

r23831:fcf4c9c2
r24641:51d59bbb
Show More
configtraits.py
17 lines | 482 B | text/x-python | PythonLexer
"""Directives and roles for documenting traitlets config options.
::
.. configtrait:: Application.log_datefmt
Description goes here.
Cross reference like this: :configtrait:`Application.log_datefmt`.
"""
from sphinx.locale import l_
from sphinx.util.docfields import Field
def setup(app):
app.add_object_type('configtrait', 'configtrait', objname='Config option')
metadata = {'parallel_read_safe': True, 'parallel_write_safe': True}
return metadata