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

Method mro

Lib/test/test_descr.py:4221–4226  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4219 self.flag = 0
4220 return super(WorkOnce, self).__new__(WorkOnce, name, bases, ns)
4221 def mro(self):
4222 if self.flag > 0:
4223 raise RuntimeError("bozo")
4224 else:
4225 self.flag += 1
4226 return type.mro(self)
4227
4228 class WorkAlways(type):
4229 def mro(self):

Callers

nothing calls this directly

Calls 1

mroMethod · 0.45

Tested by

no test coverage detected