[pypy-commit] pypy fileops2: some more signatures
fijal
noreply at buildbot.pypy.org
Tue Oct 8 17:14:24 CEST 2013
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: fileops2
Changeset: r67219:4719ccf619b8
Date: 2013-10-08 17:11 +0200
http://bitbucket.org/pypy/pypy/changeset/4719ccf619b8/
Log: some more signatures
diff --git a/rpython/rlib/types.py b/rpython/rlib/types.py
--- a/rpython/rlib/types.py
+++ b/rpython/rlib/types.py
@@ -39,8 +39,12 @@
return model.SomeUnicodeString(no_nul=True)
-def str():
- return model.SomeString()
+def str(can_be_None=False):
+ return model.SomeString(can_be_None=can_be_None)
+
+
+def bytearray():
+ return model.SomeByteArray()
def str0():
More information about the pypy-commit
mailing list