MCPcopy Index your code
hub / github.com/clips/pattern / copy

Method copy

pattern/graph/__init__.py:45–48  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 self.string = string
44 self.__dict__.update(kwargs)
45 def copy(self):
46 k = self.__dict__.copy()
47 k.pop("string")
48 return Text(self.string, **k)
49 def draw(self):
50 """ Draws the node label.
51 Optional properties include width, fill and fontsize.

Callers 7

deepcopyFunction · 0.45
copyMethod · 0.45
partitionFunction · 0.45
graph.jsFile · 0.45
propertiesMethod · 0.45
propertiesFunction · 0.45
taxonomyMethod · 0.45

Calls 2

TextClass · 0.70
popMethod · 0.45

Tested by

no test coverage detected