Explorar o código

Update pkpy.c

blueloveTH hai 1 ano
pai
achega
e9fed99471
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/modules/pkpy.c

+ 1 - 1
src/modules/pkpy.c

@@ -67,7 +67,7 @@ static bool pkpy_is_user_defined_type(int argc, py_Ref argv) {
 
 static bool pkpy_enable_full_buffering_mode(int argc, py_Ref argv) {
     PY_CHECK_ARGC(0);
-    static char buf[1024 * 1024 * 1];
+    static char buf[1024 * 128];
     setvbuf(stdout, buf, _IOFBF, sizeof(buf));
     py_newnone(py_retval());
     return true;