Skip to content

Commit 0d3d149

Browse files
committed
pep8
1 parent bf01d4c commit 0d3d149

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_structseq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def test_reference_cycle(self):
358358

359359
def test_replace_gc_tracked(self):
360360
# Verify that __replace__ results are properly GC-tracked
361-
time_struct= time.gmtime(0)
361+
time_struct = time.gmtime(0)
362362
lst = []
363363
replaced_struct = time_struct.__replace__(tm_year=lst)
364364
lst.append(replaced_struct)

Objects/typeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5978,7 +5978,7 @@ PyObject_GetItemData(PyObject *obj)
59785978
}
59795979

59805980
/* Internal API to look for a name through the MRO, bypassing the method cache.
5981-
This returns a borrowed reference, and might set an exception.
5981+
This returns a new reference, and might set an exception.
59825982
'error' is set to: -1: error with exception; 1: error without exception; 0: ok */
59835983
static PyObject *
59845984
find_name_in_mro(PyTypeObject *type, PyObject *name, int *error)

0 commit comments

Comments
 (0)