summaryrefslogtreecommitdiffhomepage
path: root/zh-cn
diff options
context:
space:
mode:
authorkdxcxs <cx@kdxcxs.com>2020-02-18 11:53:47 +0800
committerGitHub <noreply@github.com>2020-02-18 11:53:47 +0800
commit4ad5bf24fc72444681a889cf33d5da5a37d92bff (patch)
tree0f0695207cdbfdc7e01c088ac56cf54091f9dda1 /zh-cn
parent891061acd46cbe01c1fee5247e30237b484928fc (diff)
Apply suggestions from code review
Co-Authored-By: lsvih <lsvih@qq.com>
Diffstat (limited to 'zh-cn')
-rw-r--r--zh-cn/pyqt-cn.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-cn/pyqt-cn.html.markdown b/zh-cn/pyqt-cn.html.markdown
index c05d43d8..23cda53c 100644
--- a/zh-cn/pyqt-cn.html.markdown
+++ b/zh-cn/pyqt-cn.html.markdown
@@ -25,7 +25,7 @@ def window():
w = QtGui.QWidget()
# 在 widget 中添加一个 label 子控件
b = QtGui.QLabel(w)
- # 设置 labe l的文字
+ # 设置 label 的文字
b.setText("Hello World!")
# 设置 widget 的尺寸和位置
w.setGeometry(100, 100, 200, 50)