d3ef32acab314fc2c145d890b0a23e57ac9dd2f8,mathics/builtin/colors.py,,convert,#Any#Any#Any#Any#,357
Before Change
if src == dst:
return components
flows = _flow(src, dst)
for s, d in (flows[i:i + 2] for i in range(len(flows) - 1)):
if s == d:
continue
func = conversions.get("%s>%s" % (s, d))
if not func:
return None
components = stacked(func, components)
After Change
return components
path = _paths.get((src, dst), None)
if path is None:
return None
for s, d in zip(path[:-1], path[1:]):
func = conversions.get("%s>%s" % (s, d))
if not func:
return None
components = stacked(func, components)
return components
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances Project Name: mathics/Mathics
Commit Name: d3ef32acab314fc2c145d890b0a23e57ac9dd2f8
Time: 2016-09-01
Author: Bernhard.Liebl@gmx.org
File Name: mathics/builtin/colors.py
Class Name:
Method Name: convert
Project Name: PacktPublishing/Deep-Reinforcement-Learning-Hands-On
Commit Name: 46476b9f95b34557dbd74fb707247e582861dad4
Time: 2017-12-26
Author: max.lapan@gmail.com
File Name: ch11/02_a3c_grad.py
Class Name:
Method Name:
Project Name: vatlab/SoS
Commit Name: 56466705f1365214b98b744db220d798435688ca
Time: 2017-03-30
Author: ben.bog@gmail.com
File Name: sos/jupyter/sos_step.py
Class Name: Interactive_Step_Executor
Method Name: pending_tasks