Salome HOME
[EDF17047] : Py3 porting of PyParse_Tuple
[modules/yacs.git] / 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 ;