summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/python-cn.html.markdown
Commit message (Collapse)AuthorAgeLines
* Fix wrong method name in commentdengzhenpeng2020-07-19-3/+3
|
* Python 3: Use 'filename: learnpython*.py' (no '3')Simon Shine2020-02-12-1/+1
| | | | | | | | | | | | | | | | | | | | 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/' {} \; ```
* Python 3: 'language: Python'Simon Shine2020-02-12-1/+1
| | | | | | | | | | | | | 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/' {} \; ```
* Switch links: 'python3 <-> python' and 'python <-> pythonlegacy'Simon Shine2020-02-12-1/+1
| | | | The list of references is exhausted by running 'ack docs/python'.
* Rename Python 3 markdown files into 'python'Simon Shine2020-02-12-0/+632
| | | | | | | | ``` for f in $(find . -iname "*python3*" | grep -vE 'git'); do fnew=$(echo "$f" | sed 's/python3/python/') git mv "$f" "$fnew" done
* Rename Python 2 markdown files into 'pythonlegacy'Simon Shine2020-02-12-476/+0
| | | | | | | | | ``` for f in $(find . -iname "*python*" | grep -vE 'python3|git|statcomp'); do flegacy=$(echo "$f" | sed 's/python/pythonlegacy/') git mv "$f" "$flegacy" done ```
* Type correction for the output of math.sqrt() propagated across versions and ↵Anindya Srivastava2019-02-06-1/+1
| | | | languages
* [all/zh-cn] fix incorrect language-specific suffixcattail2013-12-18-0/+0
| | | | Also change useless executable file mode.
* it should be `some_set`Ryan2013-12-10-1/+1
|
* Improved some translations, made the code more PEP8hbc2013-08-14-138/+139
|
* Updated translation filenames to prevent collisionsAdam2013-08-12-1/+1
|
* add python-cnChenbo Li2013-08-03-0/+475