[pypy-commit] pypy py3.5: trying harder to pretend this lives in the os module
arigo
pypy.commits at gmail.com
Tue Dec 6 10:44:21 EST 2016
Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r88912:82d53b0445a4
Date: 2016-12-06 16:43 +0100
http://bitbucket.org/pypy/pypy/changeset/82d53b0445a4/
Log: trying harder to pretend this lives in the os module
diff --git a/pypy/module/posix/app_posix.py b/pypy/module/posix/app_posix.py
--- a/pypy/module/posix/app_posix.py
+++ b/pypy/module/posix/app_posix.py
@@ -20,6 +20,7 @@
class stat_result(metaclass=structseqtype):
name = "os.stat_result"
+ __module__ = "os"
st_mode = structseqfield(0, "protection bits")
st_ino = structseqfield(1, "inode")
More information about the pypy-commit
mailing list