changeset 565:5c617d870bb8

Style
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 06 Jan 2022 22:42:09 +0100
parents 44e18fbf7741
children dc2e2384c8c7
files configmix/_speedups.c
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configmix/_speedups.c	Thu Jan 06 22:36:37 2022 +0100
+++ b/configmix/_speedups.c	Thu Jan 06 22:42:09 2022 +0100
@@ -173,13 +173,17 @@
      */
     if (ch < (Py_UCS4)0x80) {
         bytesToWrite = 1;
-    } else if (ch < (Py_UCS4)0x800) {
+    }
+    else if (ch < (Py_UCS4)0x800) {
         bytesToWrite = 2;
-    } else if (ch < (Py_UCS4)0x10000) {
+    }
+    else if (ch < (Py_UCS4)0x10000) {
         bytesToWrite = 3;
-    } else if (ch <= UNI_MAX_LEGAL_UTF32) {
+    }
+    else if (ch <= UNI_MAX_LEGAL_UTF32) {
         bytesToWrite = 4;
-    } else {
+    }
+    else {
         _raise_utf8_encode_error(
             ch_obj,
             1, ch_obj_end,