b09fe4a3a75e58187147f4dc10f86adb272be12c,homeassistant/components/http/__init__.py,RequestHandler,_handle_get_root,#RequestHandler#Any#Any#,319
Before Change
self.server.hass.services.services.items()):
write("<tr><td>{}</td><td>".format(domain))
for index, service in enumerate(services):
if index > 0:
write(", ")
write("<a href="//" data-service="{0}/{1}">{1}</a>".format(
domain, service))
write("</td></tr>")
write(("</table></div></div>"
After Change
write(", ".join(
"<a href="//" data-service="{0}/{1}">{1}</a>".format(
domain, service) for service in sorted(services) ))
write("</td></tr>")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: home-assistant/home-assistant
Commit Name: b09fe4a3a75e58187147f4dc10f86adb272be12c
Time: 2014-06-05
Author: Paulus@PaulusSchoutsen.nl
File Name: homeassistant/components/http/__init__.py
Class Name: RequestHandler
Method Name: _handle_get_root
Project Name: CamDavidsonPilon/lifelines
Commit Name: b1d839cb8e521c3cf2efaebe17082f1a9680a253
Time: 2020-05-13
Author: cam.davidson.pilon@gmail.com
File Name: experiments/working_npmle.py
Class Name:
Method Name: create_turnball_intervals
Project Name: caserec/CaseRecommender
Commit Name: 668f2e3a8a497396b620f22aa8fc6a798a58de16
Time: 2016-08-03
Author: fortes.arthur@gmail.com
File Name: CaseRecommender/recommenders/rating_prediction/base_knn.py
Class Name: BaseKNNRecommenders
Method Name: __init__