Skip to content

Commit 0217fbd

Browse files
author
Matthias Koeppe
committed
src/sage/misc/fpickle.pyx: Import fix for modularization
1 parent 64577d6 commit 0217fbd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sage/misc/fpickle.pyx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@ def call_pickled_function(fpargs):
110110
try:
111111
import sage.all as toplevel
112112
except ImportError:
113-
import sage.all__sagemath_objects as toplevel
114-
from sage.misc.fpickle import unpickle_function # used below
113+
import sage.all__sagemath_categories as toplevel
115114
(fp, (args, kwds)) = fpargs
116115
f = eval("unpickle_function(fp)", toplevel.__dict__, {'fp': fp})
117116
res = eval("f(*args, **kwds)", toplevel.__dict__,

0 commit comments

Comments
 (0)