MCPcopy Index your code
hub / github.com/RustPython/RustPython / Record

Class Record

benches/benchmarks/pystone.py:50–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48[Ident1, Ident2, Ident3, Ident4, Ident5] = range(1, 6)
49
50class Record:
51
52 def __init__(self, PtrComp = None, Discr = 0, EnumComp = 0,
53 IntComp = 0, StringComp = 0):
54 self.PtrComp = PtrComp
55 self.Discr = Discr
56 self.EnumComp = EnumComp
57 self.IntComp = IntComp
58 self.StringComp = StringComp
59
60 def copy(self):
61 return Record(self.PtrComp, self.Discr, self.EnumComp,
62 self.IntComp, self.StringComp)
63
64TRUE = 1
65FALSE = 0

Callers 2

copyMethod · 0.85
Proc0Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected