Skip to content

Commit

Permalink
Fix compilation issue on cp310-win #63
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Sep 2, 2021
1 parent 164399a commit fef206b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pgconn.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ conn_describe_prepared(connObject *self, PyObject *args)
/* reads args */
if (!PyArg_ParseTuple(args, "s#", &name, &name_length)) {
PyErr_SetString(PyExc_TypeError,
"Method describe_prepared() takes a string argument");
"Method describe_prepared() takes a string argument");
return NULL;
}

Expand Down Expand Up @@ -769,7 +769,7 @@ conn_inserttable(connObject *self, PyObject *args)
bufpt += sprintf(bufpt, " (");
for (j = 0; j < n; ++j) {
PyObject *obj = getcolumn(columns, j);
ssize_t slen;
Py_ssize_t slen;
char *col;

if (PyBytes_Check(obj)) {
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# config file for tox

[tox]
envlist = py{27,35,36,37,38,39},flake8,docs
envlist = py{27,35,36,37,38,39,310},flake8,docs

[testenv:flake8]
basepython = python3.8
basepython = python3.9
deps = flake8>=3.8,<4
commands =
flake8 setup.py pg.py pgdb.py tests

[testenv:docs]
basepython = python3.8
basepython = python3.9
deps =
sphinx>=3.2,<4
cloud_sptheme>=1.10,<2
Expand Down

0 comments on commit fef206b

Please sign in to comment.