summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/pythonlegacy-cn.html.markdown
Commit message (Collapse)AuthorAgeLines
* Remove leading and trailing empty lines in code blocksBoris Verkhovskiy2024-04-06-3/+0
|
* fix translation mistakebut0n2020-04-29-1/+1
| | | | #210
* Change 'filename:' for Python 2 (legacy)Simon Shine2020-02-12-1/+1
| | | | | | | | | | | | | | | | Before renaming, all Python 2 filenames were 'learnpython-*.py'. This commit renames them to 'learnpythonlegacy-*.py'. To verify that the filenames were named consistently across translations prior to this commit, and to change this: ``` find . -name "pythonlegacy*.markdown" -exec ack filename: {} \; find . -name "pythonlegacy*.markdown" -exec \ sed -i 's/^filename: learnpython/filename: learnpythonlegacy/' {} \; ```
* Python 2 'language': Python 2 (legacy)Simon Shine2020-02-12-1/+1
| | | | | | | | | | | Instead of listing 'language: python' for Python 2, use language: Python 2 (legacy) ``` find . -iname "*pythonlegacy*" -exec \ sed -i 's/^language: .*/language: Python 2 (legacy)/' {} \; ```
* Rename Python 2 markdown files into 'pythonlegacy'Simon Shine2020-02-12-0/+476
``` for f in $(find . -iname "*python*" | grep -vE 'python3|git|statcomp'); do flegacy=$(echo "$f" | sed 's/python/pythonlegacy/') git mv "$f" "$flegacy" done ```