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

Method __repr__

tools/python-3.11.9-amd64/Lib/functools.py:374–383  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

372 self.keywords = keywords
373
374 def __repr__(self):
375 args = ", ".join(map(repr, self.args))
376 keywords = ", ".join("{}={!r}".format(k, v)
377 for k, v in self.keywords.items())
378 format_string = "{module}.{cls}({func}, {args}, {keywords})"
379 return format_string.format(module=self.__class__.__module__,
380 cls=self.__class__.__qualname__,
381 func=self.func,
382 args=args,
383 keywords=keywords)
384
385 def _make_unbound_method(self):
386 def _method(cls_or_self, /, *args, **keywords):

Callers

nothing calls this directly

Calls 4

mapFunction · 0.50
joinMethod · 0.45
formatMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected