Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4555001

Browse files
authored
Update README.md
1 parent d1623b1 commit 4555001

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,15 @@ income = (gross_wages
123123
+ (dividends - qualified_dividends)
124124
- ira_deduction
125125
- student_loan_interest)
126-
```
127-
只要保持本地一致性,在二元运算符之前和之后断开都是允许的,但是新的 Python 代码推荐使用 Knuth 形式。
126+
```
127+
只要保持本地一致性,在二元运算符之前和之后断开都是允许的,但是新的 Python 代码推荐使用 Knuth 形式。
128128
<h5 id="3.5">空行</h5>
129129
顶层函数和类定义使用两个空行。
130-
类内方法定义使用一个空行。
131-
不同函数组之间使用额外的空行隔离。
132-
总之,空行的作用就是隔离不同函数类等,层次分明。
133-
<h5 id="3.6">源文件编码</h5>
134-
Python 2 默认ASCII,Python 3 默认UTF-8。
135-
使用 ASCII 的 Python 2 源文件或使用 UTF-8 的 Python 3 源文件不应该有编码声明。
136-
源文件最好只使用 ASCII 字符,即使是蹩脚的 Chinglish 亦可,家和万事兴。
130+
类内方法定义使用一个空行。
131+
不同函数组之间使用额外的空行隔离。
132+
总之,空行的作用就是隔离不同函数类等,层次分明。
133+
<h5 id="3.6">源文件编码</h5>
134+
Python 2 默认ASCII,Python 3 默认UTF-8。
135+
使用 ASCII 的 Python 2 源文件或使用 UTF-8 的 Python 3 源文件不应该有编码声明。
136+
源文件最好只使用 ASCII 字符,即使是蹩脚的 Chinglish 亦可,家和万事兴。
137137

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /