MCPcopy Index your code
hub / github.com/python/cpython / upper

Method upper

Lib/test/test_tstring.py:56–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 self.name = name
55
56 def upper(self):
57 return self.name.upper()
58
59 person = Person("Alice")
60 t = t"Name: {person.name}"

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected