Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau authored Dec 2, 2024
1 parent fdda27e commit 9419bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/pyflyby/_dbg.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def _debug_exception(*exc_info, **kwargs):
# Check if the instance is of IPython's Pdb and its version.
try:
import IPython
if IPython.__version__ >= '8.16':
if IPython.version_info >= (8, 16):
from IPython.core.debugger import Pdb as IPdb
# This is expected to be True, hence just a safe check.
if isinstance(pdb, IPdb):
Expand Down

0 comments on commit 9419bf0

Please sign in to comment.