Commit Graph

20 Commits

Author SHA1 Message Date
Boris Verkhovskiy
0aceb41100 [python/*] remove feedback email request 2024-04-07 03:54:02 -07:00
Boris Verkhovskiy
3e687f1a8c Remove leading and trailing empty lines in code blocks 2024-04-06 08:33:50 -07:00
caminsha
c5362aaed1 Added example for f-strings 2020-02-17 00:26:43 +01:00
caminsha
254a609876 Changed sentence about deprecated python 2 2020-02-17 00:24:53 +01:00
caminsha
9f1addce40 removed section with different .format for stringformatting 2020-02-16 22:07:55 +01:00
caminsha
d533a06ba0 Fixed explanation about legacy python 2020-02-16 22:02:27 +01:00
caminsha
16506a1575 fetched upstream and made some translations to Python 2020-02-15 00:00:05 +01:00
Simon Shine
ae848c481f Python 3: Use 'filename: learnpython*.py' (no '3')
Before renaming, Python 3 filenames were 'learnpython3*.py'.

This commit removes the '3' part from the filename.

To verify that the filenames were named consistently across
translations prior to this commit, and to change this:

```
ack -H 'filename:' python.html.markdown
find . -name "python-*.markdown" -exec ack -H 'filename:' {} \;

sed -i 's/^filename: learnpython3/filename: learnpython/' \
  python.html.markdown

find . -name "python-*.markdown" -exec \
  sed -i 's/^filename: learnpython3/filename: learnpython/' {} \;
```
2020-02-12 07:04:42 +01:00
Simon Shine
8f5fac9895 Python 3: 'language: Python'
Instead of listing 'language: python3' for Python 3, use

    language: Python

as #3450 does.

```
find . -iname "python-*.markdown" -exec \
  sed -i 's/language: python3/language: Python/' {} \;
```
2020-02-12 07:04:42 +01:00
Simon Shine
efe00fd06e Switch links: 'python3 <-> python' and 'python <-> pythonlegacy'
The list of references is exhausted by running 'ack docs/python'.
2020-02-12 05:03:08 +01:00
Simon Shine
a3b0585374 Rename Python 3 markdown files into 'python'
```
for f in $(find . -iname "*python3*" | grep -vE 'git'); do
  fnew=$(echo "$f" | sed 's/python3/python/')
  git mv "$f" "$fnew"
done
2020-02-12 04:54:36 +01:00
Simon Shine
1adab9bc3f Rename Python 2 markdown files into 'pythonlegacy'
```
for f in $(find . -iname "*python*" | grep -vE 'python3|git|statcomp'); do
  flegacy=$(echo "$f" | sed 's/python/pythonlegacy/')
  git mv "$f" "$flegacy"
done
```
2020-02-12 04:53:08 +01:00
Rakasch
c0c2272be0
Kap. 5+6 aktualisiert, Kap 6.1, 6.2, 7 hinzugefügt
Kapitel 6.1, 6.2 und 7 aus der englischen Version übernommen.
Kapitel 5 und 6 getauscht, um der englischen Version zu entsprechen. 
Texte der Kapitel 5 und 6 Kapitel um fehlende Teile erweitert.
2019-04-06 20:18:14 +02:00
Anindya Srivastava
9b5b5f6d31 Type correction for the output of math.sqrt() propagated across versions and languages 2019-02-06 07:31:34 +05:30
Wincent Balin
79170764a1 Update python-de.html.markdown
Fixed typos.
2015-03-03 12:20:57 +01:00
Adam
3cf89d5146 Updated new contributions 2013-09-08 22:05:15 -07:00
rduerig
081564a08a improved python german a little bit 2013-08-18 23:39:09 +02:00
Adam
f1692b1576 Updated header matter in python-de 2013-08-17 09:44:28 -07:00
Adam
abf527143a Changed python-de to utf-8 2013-08-17 09:44:05 -07:00
kultprok
e875c3fff1 added first draft of german translation for python 2013-08-17 12:40:17 +02:00