Commit Graph

15 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
payet-s
d226542f37 [python/fr] Fix python3 link 2015-10-21 17:36:46 +02:00
Florent Espanet
00624c1a9b Update python-fr.html.markdown
Fix typo
2015-10-06 09:25:12 +02:00
Matthias Bussonnier
998fdfdfcd typo 2015-10-03 15:40:41 -07:00
Matthias Bussonnier
6f29bcc201 Update Python-fr.html.markdown
Add Link to Python3 English article.
2015-10-03 15:39:37 -07:00
Arnaud
be55775d5a Escaped a quote 2014-04-15 16:15:07 +02:00
C-Duv
200298c769 French translation typo in comments for slice syntax with omitted indexes
Translation typo in comments for slice syntax with omitted indexes:
"Omit the beginning" meant omit the beginning *of the list* (not the beginning of the range)
"Omit the end" meant omit the end *of the list* (not the end of the range)
2013-10-11 10:13:12 +02:00
Adam
b28900b889 Fixed up so it builds 2013-09-08 22:52:09 -07:00
Adam
3cf89d5146 Updated new contributions 2013-09-08 22:05:15 -07:00
Syl Zys
b466a86d9d typo corrections, thanks to Nami-Doc for re-reading 2013-09-08 16:51:51 +02:00
Syl Zys
d22029e0d0 Added Python French translation 2013-09-08 14:53:33 +02:00