From 780dbf5544c81d8f12453d9fd1743879ebcd52d3 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Thu, 29 Feb 2024 18:20:18 -0800 Subject: [PATCH] src/doc/*/tutorial/programming.rst: In 'standalone script', no need to import from sage.all --- src/doc/de/tutorial/programming.rst | 1 - src/doc/en/tutorial/programming.rst | 1 - src/doc/fr/tutorial/programming.rst | 1 - src/doc/ja/tutorial/programming.rst | 3 +-- src/doc/pt/tutorial/programming.rst | 1 - src/doc/ru/tutorial/programming.rst | 1 - 6 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/doc/de/tutorial/programming.rst b/src/doc/de/tutorial/programming.rst index 9da919fedae..ceeed63c84c 100644 --- a/src/doc/de/tutorial/programming.rst +++ b/src/doc/de/tutorial/programming.rst @@ -177,7 +177,6 @@ Polynome, usw.: #!/usr/bin/env sage import sys - from sage.all import * if len(sys.argv) != 2: print("Usage: %s " % sys.argv[0]) diff --git a/src/doc/en/tutorial/programming.rst b/src/doc/en/tutorial/programming.rst index 57dac68ae1c..7e4fd9b3468 100644 --- a/src/doc/en/tutorial/programming.rst +++ b/src/doc/en/tutorial/programming.rst @@ -166,7 +166,6 @@ etc: #!/usr/bin/env sage import sys - from sage.all import * if len(sys.argv) != 2: print("Usage: %s " % sys.argv[0]) diff --git a/src/doc/fr/tutorial/programming.rst b/src/doc/fr/tutorial/programming.rst index f109e121414..32f465cfc5c 100644 --- a/src/doc/fr/tutorial/programming.rst +++ b/src/doc/fr/tutorial/programming.rst @@ -176,7 +176,6 @@ entiers, des polynômes, etc. : #!/usr/bin/env sage import sys - from sage.all import * if len(sys.argv) != 2: print("Usage: %s " % sys.argv[0]) diff --git a/src/doc/ja/tutorial/programming.rst b/src/doc/ja/tutorial/programming.rst index df8d6d4112c..1232c1bf1e6 100644 --- a/src/doc/ja/tutorial/programming.rst +++ b/src/doc/ja/tutorial/programming.rst @@ -140,10 +140,9 @@ Cythonソースファイルから生成されたC言語コードをコンパイ :: - #!/usr/bin/env sage -python + #!/usr/bin/env sage import sys - from sage.all import * if len(sys.argv) != 2: print("Usage: %s " % sys.argv[0]) diff --git a/src/doc/pt/tutorial/programming.rst b/src/doc/pt/tutorial/programming.rst index 08c0a4713e3..ea1d6b2e348 100644 --- a/src/doc/pt/tutorial/programming.rst +++ b/src/doc/pt/tutorial/programming.rst @@ -192,7 +192,6 @@ O seguinte script em Sage fatora inteiros, polinômios, etc: #!/usr/bin/env sage import sys - from sage.all import * if len(sys.argv) != 2: print("Usage: %s " % sys.argv[0]) diff --git a/src/doc/ru/tutorial/programming.rst b/src/doc/ru/tutorial/programming.rst index 826d3b6df4a..0ea10634c0b 100644 --- a/src/doc/ru/tutorial/programming.rst +++ b/src/doc/ru/tutorial/programming.rst @@ -162,7 +162,6 @@ C и обработан компилятором C. #!/usr/bin/env sage import sys - from sage.all import * if len(sys.argv) != 2: print("Usage: %s " % sys.argv[0])