Skip to content

Commit 28b31d0

Browse files
refactoring(formatted_json): remove description as it is part of the ebook, remove unnecessary input() statement
1 parent 300bcee commit 28b31d0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

third_party/formatted_json.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
"""
2-
Dump json-objects in a formatted way.
3-
"""
41
import json
52
import requests
63

@@ -13,4 +10,3 @@ def sample_request(url: str):
1310

1411
response = sample_request("https://jsonplaceholder.typicode.com/todos/1")
1512
print(json.dumps(response, indent=4))
16-
input()

0 commit comments

Comments
 (0)