Skip to content

Commit 1e6ff46

Browse files
committed
Use portable s# instead of t# format string in PyArg_ParseTuple
1 parent a6dee4f commit 1e6ff46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_librabbitmq/connection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1817,7 +1817,7 @@ PyRabbitMQ_Connection_basic_publish(PyRabbitMQ_Connection *self,
18171817
if (PyRabbitMQ_Not_Connected(self))
18181818
goto bail;
18191819

1820-
if (!PyArg_ParseTuple(args, "It#OOO|II",
1820+
if (!PyArg_ParseTuple(args, "Is#OOO|II",
18211821
&channel, &body_buf, &body_size, &exchange, &routing_key,
18221822
&propdict, &mandatory, &immediate))
18231823
goto bail;

0 commit comments

Comments
 (0)