Skip to content

Commit 29fce01

Browse files
committed
fixed stupid error in generating imports.
1 parent f0195a6 commit 29fce01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/rst_to_pxd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def gen_imports(function_list):
135135
ret.add(t)
136136
for k,v in imports.items():
137137
types = ", ".join(v)
138-
print("from " + k + " import " + types)
138+
print("from flint.flintlib." + k + " cimport " + types)
139139
return ret
140140

141141
def generate_pxd_file(h_name):

0 commit comments

Comments
 (0)