Skip to content

Commit 84e7bf7

Browse files
authored
Merge pull request bpython#639 from blueyed/fix-bpdb-init-with-pdbpp
bpdb: fix TypeError with pdbpp's `__init__`
2 parents a60f28d + dd4a003 commit 84e7bf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpdb/debugger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
class BPdb(pdb.Pdb):
3030
""" PDB with BPython support. """
3131

32-
def __init__(self):
33-
pdb.Pdb.__init__(self)
32+
def __init__(self, *args, **kwargs):
33+
pdb.Pdb.__init__(self, *args, **kwargs)
3434
self.rcLines = []
3535
self.prompt = '(BPdb) '
3636
self.intro = 'Use "B" to enter bpython, Ctrl-d to exit it.'

0 commit comments

Comments
 (0)