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

Method get

Lib/test/test_doctest/test_doctest.py:77–82  ·  view source on GitHub ↗

>>> print(SampleClass(-5).get()) -5

(self)

Source from the content-addressed store, hash-verified

75 return SampleClass(self.val + self.val)
76
77 def get(self):
78 """
79 >>> print(SampleClass(-5).get())
80 -5
81 """
82 return self.val
83
84 def setter(self, val):
85 """

Callers 15

test_get_8bit_headerMethod · 0.45
isfileMethod · 0.45
islinkMethod · 0.45
__new__Method · 0.45
__init__Method · 0.45
write_junitMethod · 0.45
_get_resultMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected