aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2017-02-14 12:35:23 +0100
committerArmin Rigo <arigo@tunes.org>2017-02-14 12:35:23 +0100
commit16ffa453e4bb466fa64dc259e114cc1fd8a573a3 (patch)
treefe399697ec014a6979a15b27dbead9fed771dfd2 /pypy/interpreter/gateway.py
parenthg merge e725a8848ced (diff)
parentgc, imp (diff)
downloadpypy-16ffa453e4bb466fa64dc259e114cc1fd8a573a3.tar.gz
pypy-16ffa453e4bb466fa64dc259e114cc1fd8a573a3.tar.bz2
pypy-16ffa453e4bb466fa64dc259e114cc1fd8a573a3.zip
hg merge 22c094827f52
Diffstat (limited to 'pypy/interpreter/gateway.py')
-rw-r--r--pypy/interpreter/gateway.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pypy/interpreter/gateway.py b/pypy/interpreter/gateway.py
index b5101fe0ea..69c391dfe3 100644
--- a/pypy/interpreter/gateway.py
+++ b/pypy/interpreter/gateway.py
@@ -742,7 +742,7 @@ class BuiltinCode(Code):
return self.sig
def getdocstring(self, space):
- return space.newtext(self.docstring)
+ return space.newtext_or_none(self.docstring)
def funcrun(self, func, args):
return BuiltinCode.funcrun_obj(self, func, None, args)