Salome HOME
[EDF17047] : Py3 porting of PyParse_Tuple V9_dev
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 4 Jun 2018 13:22:50 +0000 (15:22 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 4 Jun 2018 13:22:50 +0000 (15:22 +0200)
src/runtime/PyStdout.cxx

index 0c1cf83ded316005f49952e136bcf61d7deb41a7..bf32f17b3e44ee0da7088e4e4e9c9f7d99945e88 100644 (file)
@@ -53,7 +53,7 @@ PyStdOut_write(PyStdOut *self, PyObject *args)
 {
   char *c;
   int l;
-  if (!PyArg_ParseTuple(args, "t#:write",&c, &l))
+  if (!PyArg_ParseTuple(args, "s#:write",&c, &l))
     return NULL;
 
   //std::cerr << c ;