diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-14 12:04:34 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-14 12:04:34 (GMT) |
commit | 22a351aabfaf8a9136ad148ceecddb55a9874f1f (patch) | |
tree | 98fa31d1fe60a942736cfb269430e05324781a31 /Parser/tokenizer.h | |
parent | 383c32dd3821828f271c0bf7bcf21f0ba71792e8 (diff) | |
download | cpython-22a351aabfaf8a9136ad148ceecddb55a9874f1f.zip cpython-22a351aabfaf8a9136ad148ceecddb55a9874f1f.tar.gz cpython-22a351aabfaf8a9136ad148ceecddb55a9874f1f.tar.bz2 |
Issue #10095: fp_setreadl() doesn't reopen the file, reuse instead the file
descriptor.
Diffstat (limited to 'Parser/tokenizer.h')
-rw-r--r-- | Parser/tokenizer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.h b/Parser/tokenizer.h index c8e19c1..d9866f6 100644 --- a/Parser/tokenizer.h +++ b/Parser/tokenizer.h @@ -53,7 +53,7 @@ struct tok_state { int cont_line; /* whether we are in a continuation line. */ const char* line_start; /* pointer to start of current line */ #ifndef PGEN - PyObject *decoding_readline; /* codecs.open(...).readline */ + PyObject *decoding_readline; /* open(...).readline */ PyObject *decoding_buffer; #endif const char* enc; /* Encoding for the current str. */ |