Skip to content

Commit c5e4810

Browse files
committed
Tiny formatting tweak
1 parent 7e3fd9b commit c5e4810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgres/cursors.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class SimpleDictCursor(RealDictCursor, SimpleCursorBase):
167167

168168
def isexception(obj):
169169
"""Given an object, return a boolean indicating whether it is an instance
170-
or subclass of Exception.
170+
or subclass of :py:class:`Exception`.
171171
"""
172172
if isinstance(obj, Exception):
173173
return True

0 commit comments

Comments
 (0)