Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 872c33e

Browse filesBrowse files
committed
change wording based on feedback
1 parent 990c45c commit 872c33e
Copy full SHA for 872c33e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Collapse file

‎lectures/python_essentials.md‎

Copy file name to clipboardExpand all lines: lectures/python_essentials.md
+1-2Lines changed: 1 addition & 2 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.