Changeset 7572:61c96b713e46
- Timestamp:
- 11/26/07 19:35:20 (5 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
sage/structure/coerce.pyx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sage/structure/coerce.pyx
r7571 r7572 23 23 import time 24 24 25 from sage_object cimport SageObject 25 26 import sage.categories.morphism 26 27 from sage.categories.action import InverseAction … … 329 330 330 331 try: 331 if PY_TYPE_CHECK(xp, type) or PY_TYPE_CHECK(yp, type):332 if not PY_TYPE_CHECK(x, SageObject) or not PY_TYPE_CHECK(y, SageObject): 332 333 x = x._sage_() 333 334 y = y._sage_()
Note: See TracChangeset
for help on using the changeset viewer.
