From 5e17805759c33f39da95fdb156a5776496cf7581 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 18 Sep 2021 10:02:55 +1000 Subject: [PATCH] docs: fix simple typo, succesfull -> successful There is a small typo in test.py. Should read `successful` rather than `succesfull`. --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index 0833b54..cdf84aa 100755 --- a/test.py +++ b/test.py @@ -17,7 +17,7 @@ def get_codecs(): def read_encoded_file(file_path): - """Try reading file using all codecs. Return the first succesfull one.""" + """Try reading file using all codecs. Return the first successful one.""" for encoding in get_codecs(): try: with codecs.open(file_path, "r", encoding) as f: