summaryrefslogtreecommitdiffstats
path: root/Lib/bdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/bdb.py')
-rw-r--r--Lib/bdb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/bdb.py b/Lib/bdb.py
index 89908fc..c8505a3 100644
--- a/Lib/bdb.py
+++ b/Lib/bdb.py
@@ -339,7 +339,7 @@ class Bdb:
locals = globals
self.reset()
sys.settrace(self.trace_dispatch)
- if type(cmd) <> types.CodeType:
+ if not isinstance(cmd, types.CodeType):
cmd = cmd+'\n'
try:
try:
@@ -358,7 +358,7 @@ class Bdb:
locals = globals
self.reset()
sys.settrace(self.trace_dispatch)
- if type(expr) <> types.CodeType:
+ if not isinstance(expr, types.CodeType):
expr = expr+'\n'
try:
try: