Author: Maciej Fijalkowski <[email protected]>
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():
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit