MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / __str__

Method __str__

DemoPrograms/Demo_Listbox_Using_Objects.py:23–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21 self.shown = shown
22
23 def __str__(self):
24 return self.shown
25
26# make list of some objects
27my_item_list = [Item(f'Internal {i}', f'shown {i}') for i in range(100)]

Callers 2

mainFunction · 0.80
shell_with_animationFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected