We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8984e0 commit e289a45Copy full SHA for e289a45
src/sage/misc/sageinspect.py
@@ -204,7 +204,7 @@ def isclassinstance(obj):
204
not (isinstance(obj.__class__.__module__, str) and
205
obj.__class__.__module__.startswith('_cython_')) and
206
# In Cython 3.1, they have 'member_descriptor' type
207
- not 'cython_function_or_method' in str(obj.__class__.__module__))
+ 'cython_function_or_method' not in str(obj.__class__.__module__))
208
209
210
# Parse strings of form "File: sage/rings/rational.pyx (starting at line 1080)"
0 commit comments