##// END OF EJS Templates
Move method increment_filename from FileNotebookManager to NotebookManager...
Move method increment_filename from FileNotebookManager to NotebookManager The implementation requires only a minor change (call notebook_exists rather than checking for file existence) to be universally usable in other notebook managers.

File last commit:

r13347:54891794
r15292:480bdb67
Show More
tokenize2.py
9 lines | 160 B | text/x-python | PythonLexer
"""Load our patched versions of tokenize.
"""
import sys
if sys.version_info[0] >= 3:
from ._tokenize_py3 import *
else:
from ._tokenize_py2 import *