##// END OF EJS Templates
fix SyntaxError on !(command)...
fix SyntaxError on !(command) prefilter_line expects that trailing newlines will be trimmed, but run_cell passed it lines with a trailing \n. Single-line run_cell now uses prefilter_lines again, and appends newline explicitly. Formerly failing test included.

File last commit:

r3408:261328d5
r3908:7462a578
Show More
__init__.py
8 lines | 304 B | text/x-python | PythonLexer
try:
from decorator import *
from decorator import getinfo, new_wrapper
# the following funcion is deprecated so using the python own one
from functools import update_wrapper
except ImportError:
from _decorator import *
from _decorator import getinfo, update_wrapper, new_wrapper