Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage/misc/sageinspect.py: Do not use FreeModule as an example for…
Browse files Browse the repository at this point in the history
… a class instance
  • Loading branch information
Matthias Koeppe committed Jul 28, 2020
1 parent 5d56004 commit 9116a1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/misc/sageinspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ def isclassinstance(obj):
sage: from sage.misc.sageinspect import isclassinstance
sage: isclassinstance(int)
False
sage: isclassinstance(FreeModule)
True
sage: class myclass: pass
sage: isclassinstance(myclass())
True
sage: isclassinstance(myclass)
False
sage: class mymetaclass(type): pass
Expand Down

0 comments on commit 9116a1c

Please sign in to comment.