Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brain-workshop/brainworkshop
/ textify
Method
textify
brainworkshop.py:1999–2002 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
1997
self.instance = self
1998
1999
def
textify(self, x):
2000
if
type(x) == bool:
2001
return
x and _(
'Yes'
) or _(
'No'
)
2002
return
str(x)
2003
2004
def
update_labels(self):
2005
for
l in self.labels: l.text =
'Hello, bug!'
Callers
1
update_labels
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected