Skip to content

Commit f53a75d

Browse files
authored
Update 第03章 Python的数据结构、函数和文件.md
去掉重复的“函数”一词。
1 parent c63a36e commit f53a75d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

第03章 Python的数据结构、函数和文件.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@ S ['Steven']
12611261
![表3-2 一些有用的itertools函数](http://upload-images.jianshu.io/upload_images/7178691-111823d8767a104d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
12621262

12631263
## 错误和异常处理
1264-
优雅地处理Python的错误和异常是构建健壮程序的重要部分。在数据分析中,许多函数函数只用于部分输入。例如,Python的float函数可以将字符串转换成浮点数,但输入有误时,有``ValueError``错误:
1264+
优雅地处理Python的错误和异常是构建健壮程序的重要部分。在数据分析中,许多函数只用于部分输入。例如,Python的float函数可以将字符串转换成浮点数,但输入有误时,有``ValueError``错误:
12651265

12661266
```python
12671267
In [197]: float('1.2345')

0 commit comments

Comments
 (0)