Skip to content

Commit

Permalink
src/doc/*/tutorial/programming.rst: In 'standalone script', no need t…
Browse files Browse the repository at this point in the history
…o import from sage.all
  • Loading branch information
Matthias Koeppe committed Apr 1, 2024
1 parent 1cd4990 commit 780dbf5
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion src/doc/de/tutorial/programming.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ Polynome, usw.:
#!/usr/bin/env sage

import sys
from sage.all import *

if len(sys.argv) != 2:
print("Usage: %s <n>" % sys.argv[0])
Expand Down
1 change: 0 additions & 1 deletion src/doc/en/tutorial/programming.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ etc:
#!/usr/bin/env sage
import sys
from sage.all import *
if len(sys.argv) != 2:
print("Usage: %s <n>" % sys.argv[0])
Expand Down
1 change: 0 additions & 1 deletion src/doc/fr/tutorial/programming.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <n>" % sys.argv[0])
Expand Down
3 changes: 1 addition & 2 deletions src/doc/ja/tutorial/programming.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <n>" % sys.argv[0])
Expand Down
1 change: 0 additions & 1 deletion src/doc/pt/tutorial/programming.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <n>" % sys.argv[0])
Expand Down
1 change: 0 additions & 1 deletion src/doc/ru/tutorial/programming.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ C и обработан компилятором C.
#!/usr/bin/env sage

import sys
from sage.all import *

if len(sys.argv) != 2:
print("Usage: %s <n>" % sys.argv[0])
Expand Down

0 comments on commit 780dbf5

Please sign in to comment.