MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / get

Method get

tools/python-3.11.9-amd64/Lib/doctest.py:2725–2733  ·  view source on GitHub ↗

get() -> return TestClass's associated value. >>> x = _TestClass(-42) >>> print(x.get()) -42

(self)

Source from the content-addressed store, hash-verified

2723 return self
2724
2725 def get(self):
2726 """get() -> return TestClass's associated value.
2727
2728 >>> x = _TestClass(-42)
2729 >>> print(x.get())
2730 -42
2731 """
2732
2733 return self.val
2734
2735__test__ = {"_TestClass": _TestClass,
2736 "string": r"""

Callers 4

_extract_future_flagsFunction · 0.45
__record_outcomeMethod · 0.45
testmodFunction · 0.45
DocFileSuiteFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected