Skip to content

Commit a591fbe

Browse files
committed
address review: use "native format" in comments
1 parent c9bec54 commit a591fbe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Objects/memoryobject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,7 +1806,7 @@ pylong_as_zu(PyObject *item)
18061806
dest = x; \
18071807
} while (0)
18081808

1809-
/* Unpack a single item. 'fmt' can be any native format character in struct
1809+
/* Unpack a single item. 'fmt' can be any native format in struct
18101810
module syntax. This function is very sensitive to small changes. With this
18111811
layout gcc automatically generates a fast jump table. */
18121812
static inline PyObject *
@@ -1926,7 +1926,7 @@ unpack_single(PyMemoryViewObject *self, const char *ptr, const char *fmt)
19261926
memcpy(ptr, (char *)&x, sizeof x); \
19271927
} while (0)
19281928

1929-
/* Pack a single item. 'fmt' can be any native format character in
1929+
/* Pack a single item. 'fmt' can be any native format in
19301930
struct module syntax. */
19311931
static int
19321932
pack_single(PyMemoryViewObject *self, char *ptr, PyObject *item, const char *fmt)

0 commit comments

Comments
 (0)