| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -318,7 +318,7 @@ PyAPI_FUNC(int) PyObject_DelItem(PyObject *o, PyObject *key); | |||
| 318 | 318 | ||
| 319 | 319 | /* Takes an arbitrary object which must support the (character, single segment) | |
| 320 | 320 | buffer interface and returns a pointer to a read-only memory location | |
| 321 | - useable as character based input for subsequent processing. | ||
| 321 | + usable as character based input for subsequent processing. | ||
| 322 | 322 | ||
| 323 | 323 | Return 0 on success. buffer and buffer_len are only set in case no error | |
| 324 | 324 | occurs. Otherwise, -1 is returned and an exception set. */ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,7 +23,7 @@ typedef struct { | |||
| 23 | 23 | /* If ma_values is NULL, the table is "combined": keys and values | |
| 24 | 24 | are stored in ma_keys. | |
| 25 | 25 | ||
| 26 | - If ma_values is not NULL, the table is splitted: | ||
| 26 | + If ma_values is not NULL, the table is split: | ||
| 27 | 27 | keys are stored in ma_keys and values are stored in ma_values */ | |
| 28 | 28 | PyDictValues *ma_values; | |
| 29 | 29 | } PyDictObject; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -263,7 +263,7 @@ PyAPI_FUNC(int) _PyInterpreterState_GetConfigCopy( | |||
| 263 | 263 | PyAPI_FUNC(int) _PyInterpreterState_SetConfig( | |
| 264 | 264 | const struct PyConfig *config); | |
| 265 | 265 | ||
| 266 | - // Get the configuration of the currrent interpreter. | ||
| 266 | + // Get the configuration of the current interpreter. | ||
| 267 | 267 | // The caller must hold the GIL. | |
| 268 | 268 | PyAPI_FUNC(const PyConfig*) _Py_GetConfig(void); | |
| 269 | 269 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -134,13 +134,13 @@ PyAPI_FUNC(_PyTime_t) _PyTime_FromNanoseconds(_PyTime_t ns); | |||
| 134 | 134 | PyAPI_FUNC(int) _PyTime_FromNanosecondsObject(_PyTime_t *t, | |
| 135 | 135 | PyObject *obj); | |
| 136 | 136 | ||
| 137 | - /* Convert a number of seconds (Python float or int) to a timetamp. | ||
| 137 | + /* Convert a number of seconds (Python float or int) to a timestamp. | ||
| 138 | 138 | Raise an exception and return -1 on error, return 0 on success. */ | |
| 139 | 139 | PyAPI_FUNC(int) _PyTime_FromSecondsObject(_PyTime_t *t, | |
| 140 | 140 | PyObject *obj, | |
| 141 | 141 | _PyTime_round_t round); | |
| 142 | 142 | ||
| 143 | - /* Convert a number of milliseconds (Python float or int, 10^-3) to a timetamp. | ||
| 143 | + /* Convert a number of milliseconds (Python float or int, 10^-3) to a timestamp. | ||
| 144 | 144 | Raise an exception and return -1 on error, return 0 on success. */ | |
| 145 | 145 | PyAPI_FUNC(int) _PyTime_FromMillisecondsObject(_PyTime_t *t, | |
| 146 | 146 | PyObject *obj, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -128,7 +128,7 @@ _PyFrame_GetFrameObject(InterpreterFrame *frame) | |||
| 128 | 128 | ||
| 129 | 129 | /* Clears all references in the frame. | |
| 130 | 130 | * If take is non-zero, then the InterpreterFrame frame | |
| 131 | - * may be transfered to the frame object it references | ||
| 131 | + * may be transferred to the frame object it references | ||
| 132 | 132 | * instead of being cleared. Either way | |
| 133 | 133 | * the caller no longer owns the references | |
| 134 | 134 | * in the frame. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -51,7 +51,7 @@ PyAPI_FUNC(void) _Py_DumpTraceback( | |||
| 51 | 51 | _PyGILState_GetInterpreterStateUnsafe() in last resort. | |
| 52 | 52 | ||
| 53 | 53 | It is better to pass NULL to interp and current_tstate, the function tries | |
| 54 | - different options to retrieve these informations. | ||
| 54 | + different options to retrieve this information. | ||
| 55 | 55 | ||
| 56 | 56 | This function is signal safe. */ | |
| 57 | 57 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -600,7 +600,7 @@ static inline PyObject* _Py_XNewRef(PyObject *obj) | |||
| 600 | 600 | } | |
| 601 | 601 | ||
| 602 | 602 | // Py_NewRef() and Py_XNewRef() are exported as functions for the stable ABI. | |
| 603 | - // Names overriden with macros by static inline functions for best | ||
| 603 | + // Names overridden with macros by static inline functions for best | ||
| 604 | 604 | // performances. | |
| 605 | 605 | #define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj)) | |
| 606 | 606 | #define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj)) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments