Skip to content

Commit 872c33e

Browse files
committed
change wording based on feedback
1 parent 990c45c commit 872c33e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lectures/python_essentials.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,7 @@ out
326326
print(out)
327327
```
328328

329-
We can also use a `with` statement to ensure the files are properly acquired
330-
and released.
329+
In fact, the recommended approach in modern Python is to use a `with` statement to ensure the files are properly acquired and released.
331330

332331
Containing the operations within the same block also improves the clarity of your code.
333332

0 commit comments

Comments
 (0)