[pypy-svn] pypy default: merge heads
arigo
commits-noreply at bitbucket.org
Wed Feb 2 16:33:48 CET 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r41572:7fcf95245cd0
Date: 2011-02-02 16:31 +0100
http://bitbucket.org/pypy/pypy/changeset/7fcf95245cd0/
Log: merge heads
diff --git a/pypy/module/__builtin__/app_file_stub.py b/pypy/module/__builtin__/app_file_stub.py
deleted file mode 100644
--- a/pypy/module/__builtin__/app_file_stub.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# NOT_RPYTHON
-
-class file(object):
- """file(name[, mode[, buffering]]) -> file object
-
-Open a file. The mode can be 'r', 'w' or 'a' for reading (default),
-writing or appending. The file will be created if it doesn't exist
-when opened for writing or appending; it will be truncated when
-opened for writing. Add a 'b' to the mode for binary files.
-Add a '+' to the mode to allow simultaneous reading and writing.
-If the buffering argument is given, 0 means unbuffered, 1 means line
-buffered, and larger numbers specify the buffer size.
-Add a 'U' to mode to open the file for input with universal newline
-support. Any line ending in the input file will be seen as a '\n'
-in Python. Also, a file so opened gains the attribute 'newlines';
-the value for this attribute is one of None (no newline read yet),
-'\r', '\n', '\r\n' or a tuple containing all the newline types seen.
-
-Note: open() is an alias for file().
-"""
More information about the Pypy-commit
mailing list