[pypy-commit] pypy default: fill in struct_rusage's full name

pjenvey pypy.commits at gmail.com
Fri Dec 1 14:07:37 EST 2017


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: 
Changeset: r93234:49077d47e615
Date: 2017-12-01 11:06 -0800
http://bitbucket.org/pypy/pypy/changeset/49077d47e615/

Log:	fill in struct_rusage's full name

diff --git a/lib_pypy/resource.py b/lib_pypy/resource.py
--- a/lib_pypy/resource.py
+++ b/lib_pypy/resource.py
@@ -20,6 +20,7 @@
 or via the attributes ru_utime, ru_stime, ru_maxrss, and so on."""
 
     __metaclass__ = _structseq.structseqtype
+    name = "resource.struct_rusage"
 
     ru_utime = _structseq.structseqfield(0,    "user time used")
     ru_stime = _structseq.structseqfield(1,    "system time used")


More information about the pypy-commit mailing list