2db939f9e321f5810022c459baccfd9d0ee283c0,lingpy/basictypes.py,lists,__init__,#lists#,38
Before Change
def __init__(self, iterable, sep=" + "):
_strings.__init__(self, str, iterable)
self.n = [strings(x) for x in iterable.split(sep)]
self.sep = sep
def __add__(self, other):
After Change
def __init__(self, iterable, sep=" + "):
_strings.__init__(self, str, iterable)
self.n = [strings(x) for x in (" ".join(iterable) if not
isinstance(iterable, str) else iterable.split(sep))]
self.sep = sep
def __add__(self, other):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: lingpy/lingpy
Commit Name: 2db939f9e321f5810022c459baccfd9d0ee283c0
Time: 2018-08-07
Author: mattis.list@lingpy.org
File Name: lingpy/basictypes.py
Class Name: lists
Method Name: __init__
Project Name: cesium-ml/cesium
Commit Name: 72a6d52997c3a950d6efbcb684f9696ab9cd2d92
Time: 2016-10-17
Author: a.crellinquick@gmail.com
File Name: doc/tools/feature_table.py
Class Name:
Method Name: feature_graph_to_rst_table
Project Name: PetrochukM/PyTorch-NLP
Commit Name: f36163c33729d431b3bbf8ac8882654528a95454
Time: 2020-05-10
Author: Petrochukm@gmail.com
File Name: torchnlp/encoders/text/delimiter_encoder.py
Class Name:
Method Name: _tokenize