064927ef2f1a90f9d4b8ed30711c961e115db972,estnltk/prettyprinter/marker.py,,create_tags_with_concatenated_css_classes,#Any#,90

Before Change


    current_classes = set()
    result = []
    for group in group_tags_at_same_position(tags):
        opening, closing = [], []
        for tag in group:
            if tag.is_opening_tag:
                opening.append(tag)

After Change


        // handle closing tags at current position
        closing_added = False
        if len(closing) > 0:
            closing_tag = Tag(pos, False, "")
            for tag in closing:
                current_classes.remove(tag.css_class)
            result.append(closing_tag)
            closing_added = True
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: estnltk/estnltk
Commit Name: 064927ef2f1a90f9d4b8ed30711c961e115db972
Time: 2015-08-11
Author: tpetmanson@gmail.com
File Name: estnltk/prettyprinter/marker.py
Class Name:
Method Name: create_tags_with_concatenated_css_classes


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 8d79fd19d09926cfd8efda588c81c6e0015da8e5
Time: 2018-10-15
Author: becca@becca.me
File Name: language/cloud-client/v1/snippets.py
Class Name:
Method Name: syntax_text


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 8d79fd19d09926cfd8efda588c81c6e0015da8e5
Time: 2018-10-15
Author: becca@becca.me
File Name: language/cloud-client/v1/snippets.py
Class Name:
Method Name: syntax_file