Commit Graph

11 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
Jorge Puente Sarrín
6fec7490ad Minor edit. 2015-10-28 15:52:29 -05:00
Jorge Puente Sarrín
26993bee2c Spelling spanish version of Python guide. 2015-10-27 01:43:58 -05:00
Fabio Souto
1cf3a8d797 Added missing section and fixes some typos 2015-04-27 17:03:00 +02:00
hirohope
7487e48d03 typo fixes and version in docs 2014-05-18 22:58:35 -04:00
Adam
bd48b7062c Updated translation filenames to prevent collisions 2013-08-12 09:53:40 -07:00
Camilo Garrido
6db6606d2e Add python-es file 2013-08-07 22:54:20 -04:00