Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dchassin committed Oct 9, 2024
1 parent fe55c42 commit 4e1aada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qdox/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def write_function(name,value):
continue
value = getattr(module,name)
set_mode(None)
if type(value) is type:
if isinstance(value,type):
write_class(name,value)
elif callable(value):
write_function(name,value)
Expand Down

0 comments on commit 4e1aada

Please sign in to comment.