Commit Graph

17 Commits

Author SHA1 Message Date
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
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
Anindya Srivastava
9b5b5f6d31 Type correction for the output of math.sqrt() propagated across versions and languages 2019-02-06 07:31:34 +05:30
Nasgul
fe1c5e86ed Edit descriptions for function setdefault.
Edit descriptions for function setdefault.
2015-10-29 22:15:40 +02:00
Chashmeet Singh
c7c9ea674d Update python-ru.html.markdown 2015-10-06 05:38:40 +05:30
Chashmeet Singh
e1abb317dd String to list characters 2015-10-05 20:44:43 +05:30
Chashmeet Singh
dca1300e57 Update python-ru.html.markdown 2015-10-05 17:33:38 +05:30
Chashmeet Singh
41d49490ba Update python-ru.html.markdown 2015-10-05 15:46:46 +05:30
Andre Polykanine A.K.A. Menelion Elensúlë
41a6f19c46 [Python/ru] Fixing Russian translation for both Python tutorials 2015-01-24 22:21:51 +02:00
Andre Polykanine A.K.A. Menelion Elensúlë
db5d1eaf13 [python-ru] Updating Russian translation of the Python 2.x tutorial 2014-09-09 13:56:35 +03:00
Rogaboru Kujimoshi
d854062e8b Update python-ru.html.markdown
Fixed comment on line 39
2013-12-19 19:11:58 +03:00
Adam
1dd0e00f22 Fixed a bunch of headers 2013-09-13 10:28:48 -07:00
Yury
b3f6ddad4a Typos and stylistic fixes 2013-08-20 21:42:00 +04:00
Adam
8aa0ab6068 Edits 2013-08-16 09:44:22 -07:00
Yury
e0b44e5aad Russian translate for python 2013-08-15 23:47:46 +04:00