##// END OF EJS Templates
Generate fontweight enum values without an extraneous variable from a comprehension...
Generate fontweight enum values without an extraneous variable from a comprehension In python 2, the comprehension will create a new class attribute, i. Using a map will not create the extra local variable.

File last commit:

r14009:6f019b30
r19836:dfd3d3f4
Show More
__main__.py
3 lines | 109 B | text/x-python | PythonLexer
if __name__ == '__main__':
from IPython.kernel.zmq import kernelapp as app
app.launch_new_instance()