From cfae6aa649b08c258040832f053a34a0c4b18fd3 Mon Sep 17 00:00:00 2001 From: Chareonwit Kunna <21arenabreakout12@gmail.com> Date: Sun, 22 Nov 2026 11:03:00 +0700 Subject: [PATCH 1/4] docs: fix doubled word Signed-off-by: Chareonwit Kunna <21arenabreakout12@gmail.com> --- b2sdk/_internal/exception.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2sdk/_internal/exception.py b/b2sdk/_internal/exception.py index 090b3291..2847bc3f 100644 --- a/b2sdk/_internal/exception.py +++ b/b2sdk/_internal/exception.py @@ -228,7 +228,7 @@ class B2RequestTimeout(TransientErrorMixin, B2SimpleError): class B2RequestTimeoutDuringUpload(B2RequestTimeout): - # if a timeout is hit during upload, it is not guaranteed that the the server has released the upload token lock already, so we'll use a new token + # if a timeout is hit during upload, it is not guaranteed that the server has released the upload token lock already, so we'll use a new token def should_retry_http(self): return False From 5e8178704f06aa9f64e630a8bdf065395663b833 Mon Sep 17 00:00:00 2001 From: Chareonwit Kunna <21arenabreakout12@gmail.com> Date: Sun, 22 Nov 2026 11:03:04 +0700 Subject: [PATCH 2/4] docs: fix doubled word Signed-off-by: Chareonwit Kunna <21arenabreakout12@gmail.com> --- b2sdk/_internal/sync/policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2sdk/_internal/sync/policy.py b/b2sdk/_internal/sync/policy.py index 724d09c4..50931826 100644 --- a/b2sdk/_internal/sync/policy.py +++ b/b2sdk/_internal/sync/policy.py @@ -137,7 +137,7 @@ def files_are_different( newer_file_mode: NewerFileSyncMode = NewerFileSyncMode.RAISE_ERROR, ): """ - Compare two files and determine if the the destination file + Compare two files and determine if the destination file should be replaced by the source file. :param b2sdk.v2.AbstractPath source_path: source file object From 95ccc28adc7a580992eff46658505c01e7b796b8 Mon Sep 17 00:00:00 2001 From: Chareonwit Kunna <21arenabreakout12@gmail.com> Date: Sun, 22 Nov 2026 11:03:08 +0700 Subject: [PATCH 3/4] docs: fix doubled word Signed-off-by: Chareonwit Kunna <21arenabreakout12@gmail.com> --- b2sdk/v1/bucket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2sdk/v1/bucket.py b/b2sdk/v1/bucket.py index f2922128..320ad440 100644 --- a/b2sdk/v1/bucket.py +++ b/b2sdk/v1/bucket.py @@ -29,7 +29,7 @@ # and to retain old style download_file_by_name signature # and to retain old style download_file_by_id signature (allowing for the new one as well) # and to retain old style get_file_info_by_name return type -# and to to adjust to old style B2Api.get_file_info return type +# and to adjust to old style B2Api.get_file_info return type # and to retain old style update return type class Bucket(v2.Bucket): FILE_VERSION_FACTORY = staticmethod(FileVersionInfoFactory) From d4f984df3d9c18821bebeeb1e7d884dd4e027004 Mon Sep 17 00:00:00 2001 From: Chareonwit Kunna <21arenabreakout12@gmail.com> Date: Sun, 22 Nov 2026 11:03:12 +0700 Subject: [PATCH 4/4] docs: fix doubled word Signed-off-by: Chareonwit Kunna <21arenabreakout12@gmail.com> --- test/unit/b2http/test_b2http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/b2http/test_b2http.py b/test/unit/b2http/test_b2http.py index 13846479..3875fecf 100644 --- a/test/unit/b2http/test_b2http.py +++ b/test/unit/b2http/test_b2http.py @@ -464,7 +464,7 @@ def test_get_content(self, b2_http: B2Http): close_mock = MagicMock() def response_callback(resp): - # mock the response close method so that we can can check if it has been called later + # mock the response close method so that we can check if it has been called later resp.close = close_mock return resp