diff options
author | Armin Rigo <arigo@tunes.org> | 2017-02-14 12:35:23 +0100 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2017-02-14 12:35:23 +0100 |
commit | 16ffa453e4bb466fa64dc259e114cc1fd8a573a3 (patch) | |
tree | fe399697ec014a6979a15b27dbead9fed771dfd2 /pypy/interpreter/gateway.py | |
parent | hg merge e725a8848ced (diff) | |
parent | gc, imp (diff) | |
download | pypy-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.py | 2 |
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) |