289da8733f1d0faa48c30867093f944da839e341,lib/streamlit/hello.py,,run,#,208

Before Change


            sourcelines = reset_indentation(remove_docstring(sourcelines))
            st.code("".join(sourcelines))
    else:
        st.title("Welcome to Streamlit!")
        st.write(
            
            Streamlit is the best way to create bespoke apps.
            

After Change


        st.write(inspect.getdoc(demo))
        // Clear everything from the intro page.
        // We only have 4 elements in the page so this is intentional overkill.
        for i in range(10):
            st.empty()
    demo()
    if show_code:
        st.markdown("//// Code")
        sourcelines, n_lines = inspect.getsourcelines(demo)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: streamlit/streamlit
Commit Name: 289da8733f1d0faa48c30867093f944da839e341
Time: 2019-09-28
Author: treuille@users.noreply.github.com
File Name: lib/streamlit/hello.py
Class Name:
Method Name: run


Project Name: deepfakes/faceswap
Commit Name: 9c588045aaac0efbdcf29ec11a8005c5e98ec650
Time: 2019-11-22
Author: 36920800+torzdf@users.noreply.github.com
File Name: scripts/gui.py
Class Name: FaceswapGui
Method Name: build_gui


Project Name: has2k1/plotnine
Commit Name: 6297e57902fefaca96e4bc60ad17f65be44cd825
Time: 2013-10-26
Author: greg@yhathq.com
File Name: ggplot/ggplot.py
Class Name: ggplot
Method Name: __repr__


Project Name: snipsco/snips-nlu
Commit Name: cf44198f4197057fb68c6a774f87be8bd63025ab
Time: 2017-06-01
Author: clement.doumouro@snips.ai
File Name: snips_nlu/tests/test_builtin_entities.py
Class Name: TestBuiltInEntities
Method Name: test_entities_rustling_dim_kinds_should_exist