mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Modified most (but not yet all) I/O to always go through sys.stdout or
sys.stderr or sys.stdin, and to work with any object as long as it has a write() (respectively readline()) methods. Some functions that took a FILE* argument now take an object* argument.
This commit is contained in:
parent
3a40ae4ef3
commit
3165fe6a56
8 changed files with 217 additions and 76 deletions
|
@ -29,7 +29,7 @@ object *call_object PROTO((object *, object *));
|
|||
object *getglobals PROTO((void));
|
||||
object *getlocals PROTO((void));
|
||||
|
||||
void printtraceback PROTO((FILE *));
|
||||
void printtraceback PROTO((object *));
|
||||
void flushline PROTO((void));
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue