Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/petertodd/python-bitcoinlib
/ __str__
Method
__str__
bitcoin/bech32.py:62–64 ·
view source on GitHub ↗
Convert to string
(self)
Source
from the content-addressed store, hash-verified
60
return
b
''
+ self
61
62
def
__str__(self):
63
""
"Convert to string"
""
64
return
encode(bitcoin.params.BECH32_HRP, self.witver, self)
65
66
def
__repr__(self):
67
return
'%s(%r)'
% (self.__class__.__name__, str(self))
Callers
nothing calls this directly
Calls
1
encode
Function · 0.90
Tested by
no test coverage detected