66089e1bb92eb4f6baf6c73f7261169d3427806b,doc/source/sphinxext/docscrape.py,NumpyDocString,__setitem__,#NumpyDocString#Any#Any#,115

Before Change


        return self._parsed_data[key]

    def __setitem__(self,key,val):
        if not self._parsed_data.has_key(key):
            warn("Unknown section %s" % key)
        else:
            self._parsed_data[key] = val

After Change


        return self._parsed_data[key]

    def __setitem__(self,key,val):
        if key not in self._parsed_data:
            warn("Unknown section %s" % key)
        else:
            self._parsed_data[key] = val
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 9

Non-data size: 5

Instances


Project Name: lingpy/lingpy
Commit Name: 66089e1bb92eb4f6baf6c73f7261169d3427806b
Time: 2012-11-07
Author: mattis.list@gmail.com
File Name: doc/source/sphinxext/docscrape.py
Class Name: NumpyDocString
Method Name: __setitem__


Project Name: Coder-Yu/RecQ
Commit Name: 26f35a89a7c6aff435a090cadba9bd1d85e8ed3e
Time: 2019-09-20
Author: yuwei57688227/
File Name: data/social.py
Class Name: SocialDAO
Method Name: __generateSet


Project Name: Coder-Yu/RecQ
Commit Name: 26f35a89a7c6aff435a090cadba9bd1d85e8ed3e
Time: 2019-09-20
Author: yuwei57688227/
File Name: data/rating.py
Class Name: RatingDAO
Method Name: __generateSet


Project Name: comic/grand-challenge.org
Commit Name: 4cde580257084c2dbe282785383a88492dff7b3f
Time: 2017-06-07
Author: jamesmeakin@gmail.com
File Name: django/comicsite/templatetags/library_plus.py
Class Name: LibraryPlus
Method Name: tag


Project Name: pymc-devs/pymc3
Commit Name: 943d0f5b124a54e092fabf73397237528da09980
Time: 2012-01-14
Author: takowl@gmail.com
File Name: pymc/database/base.py
Class Name: Database
Method Name: _initialize


Project Name: nilmtk/nilmtk
Commit Name: 668bf27e0d863ff03e5515b7c1ba1bc66e0fd0ed
Time: 2016-11-07
Author: jack-list@xlk.org.uk
File Name: nilmtk/building.py
Class Name: Building
Method Name: import_metadata


Project Name: nilmtk/nilmtk
Commit Name: 7799db5af474118bf94c74b68e65d77f20b6e331
Time: 2015-08-17
Author: jack-list@xlk.org.uk
File Name: nilmtk/appliance.py
Class Name: Appliance
Method Name: __init__


Project Name: pymc-devs/pymc3
Commit Name: 943d0f5b124a54e092fabf73397237528da09980
Time: 2012-01-14
Author: takowl@gmail.com
File Name: pymc/database/base.py
Class Name: Database
Method Name: connect_model


Project Name: sahana/eden
Commit Name: 5f75d64cc898273a311f8105b7f7145312155258
Time: 2019-07-10
Author: dominic@nursix.org
File Name: static/scripts/tools/toposort.py
Class Name: Sorter
Method Name: _visit