Skip to content

Commit fc3b417

Browse files
authored
Merge pull request yidao620c#218 from kyan001/patch-2
使代码范围正确
2 parents cf3c9e3 + 2e5b8e6 commit fc3b417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c15/p19_read_file_like_objects_from_c.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
...
129129

130130
本节最难的地方在于如何进行正确的内存管理。
131-
当处理 ``PyObject * `` 变量的时候,需要注意管理引用计数以及在不需要的变量的时候清理它们的值。
131+
当处理 ``PyObject *`` 变量的时候,需要注意管理引用计数以及在不需要的变量的时候清理它们的值。
132132
对 ``Py_DECREF()`` 的调用就是来做这个的。
133133

134134
本节代码以一种通用方式编写,因此他也能适用于其他的文件操作,比如写文件。

0 commit comments

Comments
 (0)