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

Commit

Permalink
type str > ... str
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Chapoton committed Dec 31, 2016
1 parent aef20f0 commit f816c1b
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions src/doc/de/tutorial/programming.rst
Expand Up @@ -209,9 +209,9 @@ Gleitkommazahlen, wie hier zu sehen ist:
::

sage: s = "sage"; type(s)
<type 'str'>
<... 'str'>
sage: s = 'sage'; type(s) # Sie können einfache oder doppelte Anführungszeichen verwenden
<type 'str'>
<... 'str'>
sage: s = [1,2,3,4]; type(s)
<... 'list'>
sage: s = (1,2,3,4); type(s)
Expand Down
2 changes: 1 addition & 1 deletion src/doc/de/tutorial/tour_assignment.rst
Expand Up @@ -97,7 +97,7 @@ beliebigen Python-Typs innerhalb eines Sichtbarkeitsbereich aufnehmen.
<type 'sage.rings.rational.Rational'>
sage: a = 'hello' # jetzt ist a ein String
sage: type(a)
<type 'str'>
<... 'str'>

Die Programmiersprache C, welche statisch typisiert ist, unterscheidet
sich hierzu stark; eine Variable, die dazu deklariert ist eine Ganzzahl (int)
Expand Down
4 changes: 2 additions & 2 deletions src/doc/en/tutorial/programming.rst
Expand Up @@ -198,9 +198,9 @@ ints and floats, as illustrated:
::

sage: s = "sage"; type(s)
<type 'str'>
<... 'str'>
sage: s = 'sage'; type(s) # you can use either single or double quotes
<type 'str'>
<... 'str'>
sage: s = [1,2,3,4]; type(s)
<... 'list'>
sage: s = (1,2,3,4); type(s)
Expand Down
2 changes: 1 addition & 1 deletion src/doc/en/tutorial/tour_assignment.rst
Expand Up @@ -95,7 +95,7 @@ hold values of any Python type within a given scope:
<type 'sage.rings.rational.Rational'>
sage: a = 'hello' # now a is a string
sage: type(a)
<type 'str'>
<... 'str'>

The C programming language, which is statically typed, is much
different; a variable declared to hold an int can only hold an int
Expand Down
2 changes: 1 addition & 1 deletion src/doc/es/tutorial/tour_assignment.rst
Expand Up @@ -94,7 +94,7 @@ contener valores de cualquier tipo Python dentro de un ámbito dado:
<type 'sage.rings.rational.Rational'>
sage: a = 'hello' # ahora es una cadena
sage: type(a)
<type 'str'>
<... 'str'>

El lenguaje de programación C, que es un lenguaje de tipado estático, es muy
diferente; una variable declarada como int solo puede contener un int
Expand Down
4 changes: 2 additions & 2 deletions src/doc/fr/tutorial/programming.rst
Expand Up @@ -208,9 +208,9 @@ listes, les n-uplets, les entiers et les flottants :
::

sage: s = "sage"; type(s)
<type 'str'>
<... 'str'>
sage: s = 'sage'; type(s) # guillemets simples ou doubles
<type 'str'>
<... 'str'>
sage: s = [1,2,3,4]; type(s)
<... 'list'>
sage: s = (1,2,3,4); type(s)
Expand Down
2 changes: 1 addition & 1 deletion src/doc/fr/tutorial/tour_assignment.rst
Expand Up @@ -99,7 +99,7 @@ sein d'une même portée :
<type 'sage.rings.rational.Rational'>
sage: a = 'hello' # ...et maintenant une chaîne
sage: type(a)
<type 'str'>
<... 'str'>

Le langage de programmation C, qui est statiquement typé, est bien
différent : une fois déclarée de type int, une variable ne peut contenir
Expand Down
4 changes: 2 additions & 2 deletions src/doc/ja/tutorial/programming.rst
Expand Up @@ -177,9 +177,9 @@ Pythonの組み込み型としては,string(文字列),list(リスト),タ
::

sage: s = "sage"; type(s)
<type 'str'>
<... 'str'>
sage: s = 'sage'; type(s) # シングルあるいはダブル クォーテーションのどちらも使える
<type 'str'>
<... 'str'>
sage: s = [1,2,3,4]; type(s)
<... 'list'>
sage: s = (1,2,3,4); type(s)
Expand Down
2 changes: 1 addition & 1 deletion src/doc/ja/tutorial/tour_assignment.rst
Expand Up @@ -85,7 +85,7 @@ Pythonのデータはダイナミックに型付けされ,変数を通して
<type 'sage.rings.rational.Rational'>
sage: a = 'hello' # ここでaは文字列
sage: type(a)
<type 'str'>
<... 'str'>


プログラミング言語Cでは変数がスタティックに型付けされるから振舞いはかなり異なっていて,整数(int)型として宣言された変数は同じスコープ内では整数しか保持できない.
4 changes: 2 additions & 2 deletions src/doc/pt/tutorial/programming.rst
Expand Up @@ -226,9 +226,9 @@ e floats, como ilustrado:
::

sage: s = "sage"; type(s)
<type 'str'>
<... 'str'>
sage: s = 'sage'; type(s) # you can use either single or double quotes
<type 'str'>
<... 'str'>
sage: s = [1,2,3,4]; type(s)
<... 'list'>
sage: s = (1,2,3,4); type(s)
Expand Down
2 changes: 1 addition & 1 deletion src/doc/pt/tutorial/tour_assignment.rst
Expand Up @@ -95,7 +95,7 @@ variável pode possuir valores de qualquer tipo em determinado escopo:
<type 'sage.rings.rational.Rational'>
sage: a = 'hello' # now a is a string
sage: type(a)
<type 'str'>
<... 'str'>

A linguagem de programação C, que é de tipagem estática , é muito
diferente; uma variável que foi declarada como int pode apenas
Expand Down
4 changes: 2 additions & 2 deletions src/doc/ru/tutorial/programming.rst
Expand Up @@ -193,9 +193,9 @@ C и обработан компилятором C.
::

sage: s = "sage"; type(s)
<type 'str'>
<... 'str'>
sage: s = 'sage'; type(s) # Вы можете использовать двойные или одинарные кавычки
<type 'str'>
<... 'str'>
sage: s = [1,2,3,4]; type(s)
<... 'list'>
sage: s = (1,2,3,4); type(s)
Expand Down
2 changes: 1 addition & 1 deletion src/doc/ru/tutorial/tour_assignment.rst
Expand Up @@ -93,7 +93,7 @@ Python имеет динамический контроль типов, так
<type 'sage.rings.rational.Rational'>
sage: a = 'hello' # теперь a - строка
sage: type(a)
<type 'str'>
<... 'str'>

Язык C, который имеет статический контроль типов, существенно отличается;
переменная, объявленная как целое число, может содержать только целое число.

0 comments on commit f816c1b

Please sign in to comment.