src/newick.py
def load(fp, strip_comments=False, **kw):
    """
    Load a list of trees from an open Newick formatted file.

    :param fp: open file handle.
    :param strip_comments: Flag signaling whether to strip comments enclosed in square \
    brackets.
    :param kw: Keyword arguments are passed through to `Node.create`.
    :return: List of Node objects.
    """
    kw['strip_comments'] = strip_comments
    return loads(fp.read(), **kw)
def load(fp, strip_comments=False, **kw):
    kw['strip_comments'] = strip_comments
    return loads(fp.read(), **kw)
def load ( fp , strip_comments = False , * * kw ) : kw [ 'strip_comments' ] = strip_comments return loads ( fp . read ( ) , * * kw )
Load a list of trees from an open Newick formatted file.

    :param fp: open file handle.
    :param strip_comments: Flag signaling whether to strip comments enclosed in square \
    brackets.
    :param kw: Keyword arguments are passed through to `Node.create`.
    :return: List of Node objects.
Load a list of trees from an open Newick formatted file .