diff --git a/README.md b/README.md index f52b5ee..f5c1b1a 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,4 @@ ### python_decorator.py: Python进阶: 通过实例详解装饰器(附代码) =============================================================================== -### 您可以fork该项目,并在修改后提交Pull request + diff --git a/python_base.py b/python_base.py index d4fb689..3278cf8 100644 --- a/python_base.py +++ b/python_base.py @@ -1313,3 +1313,5 @@ def __getitem__(self, item): # 主要技巧在该函数 lists[1].append(6) # 结果为[[3], [6], []] lists[2].append(9) # 结果为[[3], [6], [9]] lists = [[[] for j in range(4)] for i in range(3)] # 3行4列,且每一个元素为[] + +