Kaydet (Commit) e35399ea authored tarafından Guido van Rossum's avatar Guido van Rossum

Checking in last-minute changes that are already part of release 0.9.8

üst 775f4dac
/***********************************************************
Copyright 1991, 1992 by Stichting Mathematisch Centrum, Amsterdam, The
Netherlands.
Copyright 1991, 1992, 1993 by Stichting Mathematisch Centrum,
Amsterdam, The Netherlands.
All Rights Reserved
......@@ -45,7 +45,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifdef __DATE__
#define DATE __DATE__
#else
#define DATE ">= 1 Jan 1993"
#define DATE ">= 8 Jan 1993"
#endif
#include <stdio.h>
......
......@@ -136,10 +136,11 @@ file_repr(f)
fileobject *f;
{
char buf[300];
sprintf(buf, "<%s file '%.256s', mode '%.10s'>",
sprintf(buf, "<%s file '%.256s', mode '%.10s' at %lx>",
f->f_fp == NULL ? "closed" : "open",
getstringvalue(f->f_name),
getstringvalue(f->f_mode));
getstringvalue(f->f_mode),
(long)f);
return newstringobject(buf);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment