mirror of
https://github.com/bitcoin/bips.git
synced 2026-04-27 16:38:39 +00:00
Monthly typo fixups
Co-authored-by: xiaobei0715 <1505929057@qq.com> Co-authored-by: wgyt <wgythe@gmail.com> Co-authored-by: Ragnar <rodiondenmark@gmail.com>
This commit is contained in:
@@ -468,8 +468,7 @@ import sys
|
||||
def fromhex_all(l):
|
||||
return [bytes.fromhex(l_i) for l_i in l]
|
||||
|
||||
# Check that calling `try_fn` raises a `exception`. If `exception` is raised,
|
||||
# examine it with `except_fn`.
|
||||
# Check if calling `try_fn` raises an exception. If yes, examine it with `except_fn`.
|
||||
def assert_raises(exception, try_fn, except_fn):
|
||||
raised = False
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user