diff --git a/source/c02/p14_combine_and_concatenate_strings.rst b/source/c02/p14_combine_and_concatenate_strings.rst index cc2803a8..dbfa37b2 100644 --- a/source/c02/p14_combine_and_concatenate_strings.rst +++ b/source/c02/p14_combine_and_concatenate_strings.rst @@ -149,7 +149,7 @@ yield ''.join(parts) parts = [] size = 0 - yield ''.join(parts) + yield ''.join(parts) # 结合文件操作 with open('filename', 'w') as f: