summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/python-cn.html.markdown
Commit message (Collapse)AuthorAgeLines
* [python/zh-cn] correct mistakes 勘误 (#4468)Chuckie Chen2022-07-29-3/+3
| | | | | | | | | | | * [python/zh-cn] fix typo 修正打字错误 我们可以通过遍历还访问所有的值 -> 我们还可以通过遍历访问所有的值 * add missing character 添加遗漏的字符 这个 math.p 文件会被代替引入 -> 这个 math.py 文件会被代替引入 * fix typo
* [python/zh-cn]Complete Translation (#4351)MapleinCode2022-04-08-162/+577
| | | Co-authored-by: 谭九鼎 <109224573@qq.com>
* [python/zh-cn] Empty tuple is also False (#4297)Harukawa Sayaka2022-01-02-1/+2
|
* 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