Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
type tuple > ... tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Chapoton committed Dec 31, 2016
1 parent f816c1b commit 9331d81
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/doc/de/tutorial/programming.rst
Expand Up @@ -215,7 +215,7 @@ Gleitkommazahlen, wie hier zu sehen ist:
sage: s = [1,2,3,4]; type(s)
<... 'list'>
sage: s = (1,2,3,4); type(s)
<type 'tuple'>
<... 'tuple'>
sage: s = int(2006); type(s)
<type 'int'>
sage: s = float(2006); type(s)
Expand Down Expand Up @@ -377,7 +377,7 @@ können.
sage: v = (1,2,3,4); v
(1, 2, 3, 4)
sage: type(v)
<type 'tuple'>
<... 'tuple'>
sage: v[1] = 5
Traceback (most recent call last):
...
Expand Down
2 changes: 1 addition & 1 deletion src/doc/en/thematic_tutorials/sandpile.rst
Expand Up @@ -2257,7 +2257,7 @@ EXAMPLES::
sage: H.sink()
(0, 0)
sage: type(H.sink())
<type 'tuple'>
<... 'tuple'>

---

Expand Down
Expand Up @@ -1291,7 +1291,7 @@ in a function::
::

sage: h(1,2,3,n=4)
<type 'tuple'> (1, 2, 3)
<... 'tuple'> (1, 2, 3)
<type 'dict'> {'n': 4}

Let's use the *yield* instruction to make a generator for the
Expand Down
4 changes: 2 additions & 2 deletions src/doc/en/tutorial/programming.rst
Expand Up @@ -204,7 +204,7 @@ ints and floats, as illustrated:
sage: s = [1,2,3,4]; type(s)
<... 'list'>
sage: s = (1,2,3,4); type(s)
<type 'tuple'>
<... 'tuple'>
sage: s = int(2006); type(s)
<type 'int'>
sage: s = float(2006); type(s)
Expand Down Expand Up @@ -361,7 +361,7 @@ they can't be changed.
sage: v = (1,2,3,4); v
(1, 2, 3, 4)
sage: type(v)
<type 'tuple'>
<... 'tuple'>
sage: v[1] = 5
Traceback (most recent call last):
...
Expand Down
4 changes: 2 additions & 2 deletions src/doc/fr/tutorial/programming.rst
Expand Up @@ -214,7 +214,7 @@ listes, les n-uplets, les entiers et les flottants :
sage: s = [1,2,3,4]; type(s)
<... 'list'>
sage: s = (1,2,3,4); type(s)
<type 'tuple'>
<... 'tuple'>
sage: s = int(2006); type(s)
<type 'int'>
sage: s = float(2006); type(s)
Expand Down Expand Up @@ -371,7 +371,7 @@ une fois créés.
sage: v = (1,2,3,4); v
(1, 2, 3, 4)
sage: type(v)
<type 'tuple'>
<... 'tuple'>
sage: v[1] = 5
Traceback (most recent call last):
...
Expand Down
4 changes: 2 additions & 2 deletions src/doc/ja/tutorial/programming.rst
Expand Up @@ -183,7 +183,7 @@ Pythonの組み込み型としては,string(文字列),list(リスト),タ
sage: s = [1,2,3,4]; type(s)
<... 'list'>
sage: s = (1,2,3,4); type(s)
<type 'tuple'>
<... 'tuple'>
sage: s = int(2006); type(s)
<type 'int'>
sage: s = float(2006); type(s)
Expand Down Expand Up @@ -340,7 +340,7 @@ SageのIntegerクラスが使えるのは言うまでもない(Rationalクラス
sage: v = (1,2,3,4); v
(1, 2, 3, 4)
sage: type(v)
<type 'tuple'>
<... 'tuple'>
sage: v[1] = 5
Traceback (most recent call last):
...
Expand Down
4 changes: 2 additions & 2 deletions src/doc/pt/tutorial/programming.rst
Expand Up @@ -232,7 +232,7 @@ e floats, como ilustrado:
sage: s = [1,2,3,4]; type(s)
<... 'list'>
sage: s = (1,2,3,4); type(s)
<type 'tuple'>
<... 'tuple'>
sage: s = int(2006); type(s)
<type 'int'>
sage: s = float(2006); type(s)
Expand Down Expand Up @@ -388,7 +388,7 @@ vez criadas elas não podem ser alteradas.
sage: v = (1,2,3,4); v
(1, 2, 3, 4)
sage: type(v)
<type 'tuple'>
<... 'tuple'>
sage: v[1] = 5
Traceback (most recent call last):
...
Expand Down
4 changes: 2 additions & 2 deletions src/doc/ru/tutorial/programming.rst
Expand Up @@ -199,7 +199,7 @@ C и обработан компилятором C.
sage: s = [1,2,3,4]; type(s)
<... 'list'>
sage: s = (1,2,3,4); type(s)
<type 'tuple'>
<... 'tuple'>
sage: s = int(2006); type(s)
<type 'int'>
sage: s = float(2006); type(s)
Expand Down Expand Up @@ -347,7 +347,7 @@ Python, сработает нормально.
sage: v = (1,2,3,4); v
(1, 2, 3, 4)
sage: type(v)
<type 'tuple'>
<... 'tuple'>
sage: v[1] = 5
Traceback (most recent call last):
...
Expand Down

0 comments on commit 9331d81

Please sign in to comment.