Skip to content

Commit 17367ff

Browse files
committed
put 2 blank lines before sections
1 parent f7a2efa commit 17367ff

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Objects/exceptions.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2701,6 +2701,7 @@ as_unicode_error_attribute(PyObject *attr, const char *name, int as_bytes)
27012701
#define PyUnicodeError_CAST(PTR) \
27022702
(assert(PyUnicodeError_Check(PTR)), ((PyUnicodeErrorObject *)(PTR)))
27032703

2704+
27042705
/* class names to use when reporting errors */
27052706
#define Py_UNICODE_ENCODE_ERROR_NAME "UnicodeEncodeError"
27062707
#define Py_UNICODE_DECODE_ERROR_NAME "UnicodeDecodeError"
@@ -2920,6 +2921,7 @@ _PyUnicodeError_GetParams(PyObject *self,
29202921
return 0;
29212922
}
29222923

2924+
29232925
// --- PyUnicodeEncodeObject: 'encoding' getters ------------------------------
29242926
// Note: PyUnicodeTranslateError does not have an 'encoding' attribute.
29252927

@@ -2938,6 +2940,7 @@ PyUnicodeDecodeError_GetEncoding(PyObject *self)
29382940
return rc < 0 ? NULL : unicode_error_get_encoding_impl(self);
29392941
}
29402942

2943+
29412944
// --- PyUnicodeEncodeObject: 'object' getters --------------------------------
29422945

29432946
PyObject *
@@ -2963,6 +2966,7 @@ PyUnicodeTranslateError_GetObject(PyObject *self)
29632966
return rc < 0 ? NULL : unicode_error_get_object_impl(self, false);
29642967
}
29652968

2969+
29662970
// --- PyUnicodeEncodeObject: 'start' getters ---------------------------------
29672971

29682972
/*
@@ -3001,6 +3005,7 @@ PyUnicodeTranslateError_GetStart(PyObject *self, Py_ssize_t *start)
30013005
return rc < 0 ? -1 : unicode_error_get_start_impl(self, start, false);
30023006
}
30033007

3008+
30043009
// --- PyUnicodeEncodeObject: 'start' setters ---------------------------------
30053010

30063011
int
@@ -3026,6 +3031,7 @@ PyUnicodeTranslateError_SetStart(PyObject *self, Py_ssize_t start)
30263031
return rc < 0 ? -1 : unicode_error_set_start_impl(self, start);
30273032
}
30283033

3034+
30293035
// --- PyUnicodeEncodeObject: 'end' getters -----------------------------------
30303036

30313037
/*
@@ -3064,6 +3070,7 @@ PyUnicodeTranslateError_GetEnd(PyObject *self, Py_ssize_t *end)
30643070
return rc < 0 ? -1 : unicode_error_get_end_impl(self, end, false);
30653071
}
30663072

3073+
30673074
// --- PyUnicodeEncodeObject: 'end' setters -----------------------------------
30683075

30693076
int
@@ -3089,6 +3096,7 @@ PyUnicodeTranslateError_SetEnd(PyObject *self, Py_ssize_t end)
30893096
return rc < 0 ? -1 : unicode_error_set_end_impl(self, end);
30903097
}
30913098

3099+
30923100
// --- PyUnicodeEncodeObject: 'reason' getters --------------------------------
30933101

30943102
PyObject *
@@ -3114,6 +3122,7 @@ PyUnicodeTranslateError_GetReason(PyObject *self)
31143122
return rc < 0 ? NULL : unicode_error_get_reason_impl(self);
31153123
}
31163124

3125+
31173126
// --- PyUnicodeEncodeObject: 'reason' setters --------------------------------
31183127

31193128
int

0 commit comments

Comments
 (0)