environment/lib/python2.7/site-packages/IPython/nbformat/v2/nbbase.py
def new_worksheet(name=None, cells=None):
    """Create a worksheet by name with with a list of cells."""
    ws = NotebookNode()
    if name is not None:
        ws.name = unicode(name)
    if cells is None:
        ws.cells = []
    else:
        ws.cells = list(cells)
    return ws
def new_worksheet(name=None, cells=None):
    ws = NotebookNode()
    if name is not None:
        ws.name = unicode(name)
    if cells is None:
        ws.cells = []
    else:
        ws.cells = list(cells)
    return ws
def new_worksheet ( name = None , cells = None ) : ws = NotebookNode ( ) if name is not None : ws . name = unicode ( name ) if cells is None : ws . cells = [ ] else : ws . cells = list ( cells ) return ws
Create a worksheet by name with with a list of cells.
Create a worksheet by name with with a list of cells .