Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/jimmysong/programmingbitcoin
/ __repr__
Method
__repr__
code-ch08/tx.py:261–265 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
259
self.sequence = sequence
260
261
def
__repr__(self):
262
return
'{}:{}'
.format(
263
self.prev_tx.hex(),
264
self.prev_index,
265
)
266
267
@classmethod
268
def
parse(cls, s):
Callers
nothing calls this directly
Calls
1
hex
Method · 0.45
Tested by
no test coverage detected