MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / arg

Method arg

src/tr.py:10–14  ·  view source on GitHub ↗
(self,argument)

Source from the content-addressed store, hash-verified

8 self.context = context
9 self.text = text
10 def arg(self,argument):
11 if '%' in self.text:
12 return translateClass(self.context, self.text.replace('%','',1)) # This doesn't actually do anything with the arguments because we don't have a UI in which to display this information anyway.
13 else:
14 return self.text
15
16def _translate(context, text, disambiguation = None, encoding = None, n = None):
17 return translateText(context, text, n)

Callers 15

checkackdataMethod · 0.80
runMethod · 0.80
sendBroadcastMethod · 0.80
sendMsgMethod · 0.80
requestPubKeyMethod · 0.80
queryMethod · 0.80
testMethod · 0.80
runMethod · 0.80
runMethod · 0.80
acceptMethod · 0.80
wheelEventMethod · 0.80

Calls 1

translateClassClass · 0.85

Tested by

no test coverage detected