environment/lib/python2.7/site-packages/IPython/nbformat/v1/nbbase.py
def new_code_cell(code=None, prompt_number=None):
    """Create a new code cell with input and output"""
    cell = NotebookNode()
    cell.cell_type = u'code'
    if code is not None:
        cell.code = unicode(code)
    if prompt_number is not None:
        cell.prompt_number = int(prompt_number)
    return cell
def new_code_cell(code=None, prompt_number=None):
    """Create a new code cell with input and output"""
    cell = NotebookNode()
    cell.cell_type = u'code'
    if code is not None:
        cell.code = unicode(code)
    if prompt_number is not None:
        cell.prompt_number = int(prompt_number)
    return cell
def new_code_cell ( code = None , prompt_number = None ) : cell = NotebookNode ( ) cell . cell_type = u'code' if code is not None : cell . code = unicode ( code ) if prompt_number is not None : cell . prompt_number = int ( prompt_number ) return cell
Create a new code cell with input and output
Create a new code cell with input and output