]> granicus.if.org Git - python/commitdiff
One more fprintf bites the dist -- use PySys_WriteStderr
authorGuido van Rossum <guido@python.org>
Fri, 4 Dec 1998 18:51:01 +0000 (18:51 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 4 Dec 1998 18:51:01 +0000 (18:51 +0000)
Parser/tokenizer.c

index 63d1b050334bd4564dd86004ee6d1c7ece897470..08b6ee9eec60af78241d3a194efc3a9d3d7b51d0 100644 (file)
@@ -526,7 +526,7 @@ PyTokenizer_Get(tok, p_start, p_end)
                                        tok->indent--;
                                }
                                if (col != tok->indstack[tok->indent]) {
-                                       fprintf(stderr,
+                                       PySys_WriteStderr(
                                                "inconsistent dedent\n");
                                        tok->done = E_TOKEN;
                                        tok->cur = tok->inp;