mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 20:36:27 +00:00
14 lines
577 B
Diff
14 lines
577 B
Diff
diff --git a/src/sage/interfaces/sagespawn.pyx b/src/sage/interfaces/sagespawn.pyx
|
|
index 9041238f1d..469befbc66 100644
|
|
--- a/src/sage/interfaces/sagespawn.pyx
|
|
+++ b/src/sage/interfaces/sagespawn.pyx
|
|
@@ -228,7 +228,7 @@ class SagePtyProcess(PtyProcess):
|
|
Check that the process eventually dies after calling
|
|
``terminate_async``::
|
|
|
|
- sage: s.ptyproc.terminate_async(interval=0.2)
|
|
+ sage: s.ptyproc.terminate_async(interval=float(0.2))
|
|
sage: while True:
|
|
....: try:
|
|
....: os.kill(s.pid, 0)
|