diff options
author | Simon Shine <shreddedglory@gmail.com> | 2020-02-12 06:23:31 +0100 |
---|---|---|
committer | Simon Shine <shreddedglory@gmail.com> | 2020-02-12 07:04:42 +0100 |
commit | ae848c481fabaca935ffbe33293a43a43434d268 (patch) | |
tree | 4414fee5e61bb20c0dc2744bcadf77686b109fc5 /zh-cn | |
parent | 887cbee8af080034177734b528819491e73a7a16 (diff) |
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/' {} \;
```
Diffstat (limited to 'zh-cn')
-rw-r--r-- | zh-cn/python-cn.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-cn/python-cn.html.markdown b/zh-cn/python-cn.html.markdown index e3804cf6..da13275b 100644 --- a/zh-cn/python-cn.html.markdown +++ b/zh-cn/python-cn.html.markdown @@ -6,7 +6,7 @@ contributors: - ["Andre Polykanine", "https://github.com/Oire"] translators: - ["Geoff Liu", "http://geoffliu.me"] -filename: learnpython3-cn.py +filename: learnpython-cn.py lang: zh-cn --- |