MCPcopy Create free account
hub / github.com/KLayout/klayout / __repr__

Method __repr__

testdata/python/basic.py:48–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 def call_a10_prot(self, f):
47 a10_prot(f)
48 def __repr__(self):
49 return str(self.offset)
50
51def repr_of_a(self):
52 return "a1=" + str(self.get_n())

Callers 7

test_1Method · 0.80
test_1aMethod · 0.80
test_2Method · 0.80
test_4Method · 0.80
test_issue1549Method · 0.80
test_1Method · 0.80
test_1aMethod · 0.80

Calls 1

strFunction · 0.85

Tested by 7

test_1Method · 0.64
test_1aMethod · 0.64
test_2Method · 0.64
test_4Method · 0.64
test_issue1549Method · 0.64
test_1Method · 0.64
test_1aMethod · 0.64