920d39a800afa5f21a99244a9d8b78f34533c1af,bokeh/io.py,,_save_helper,#Any#Any#Any#Any#Any#,442

Before Change


    if isinstance(obj, LayoutDOM):
        doc = obj.document
        if doc is None:
            doc = Document().add_root(obj)
            remove_after = True
    elif isinstance(obj, Document):
        doc = obj
    else:

After Change


    remove_after = False
    if isinstance(obj, LayoutDOM):
        if obj.document is None:
            Document().add_root(obj)
            remove_after = True
        doc = obj.document
    elif isinstance(obj, Document):
        doc = obj
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: bokeh/bokeh
Commit Name: 920d39a800afa5f21a99244a9d8b78f34533c1af
Time: 2017-03-10
Author: canavandl@gmail.com
File Name: bokeh/io.py
Class Name:
Method Name: _save_helper


Project Name: bokeh/bokeh
Commit Name: 6212991887ed9ce8d00a5db03967619ed6a5cd1f
Time: 2016-06-22
Author: github@birdsbits.com
File Name: examples/app/crossfilter/main.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: 7e0b6ad29ab279a8601afb6c2769b6218bd8653d
Time: 2016-02-09
Author: bcollins@continuum.io
File Name: examples/app/crossfilter/main.py
Class Name:
Method Name: