MCPcopy Create free account
hub / github.com/ActiveState/code / copy

Method copy

recipes/Python/466329_Graph/recipe-466329.py:207–209  ·  view source on GitHub ↗

copy(): return a shallow copy of the graph.

(self)

Source from the content-addressed store, hash-verified

205 if a: return n1, a.iterkeys().next()
206
207 def copy(self):
208 "copy(): return a shallow copy of the graph."
209 return self.__class__(self)
210
211 __copy__ = copy # For the copy module
212

Callers 15

reduce_opacityFunction · 0.45
consultMethod · 0.45
errorMethod · 0.45
prnDictFunction · 0.45
startElementMethod · 0.45
__call__Method · 0.45
__DoBackupOfMethod · 0.45
__call__Method · 0.45
clearMethod · 0.45
appendMethod · 0.45
solve1Method · 0.45
extendFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected