[pypy-commit] pypy py3k: 2to3

pjenvey noreply at buildbot.pypy.org
Mon Jul 1 20:30:45 CEST 2013


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r65152:6be53cd7a876
Date: 2013-07-01 11:30 -0700
http://bitbucket.org/pypy/pypy/changeset/6be53cd7a876/

Log:	2to3

diff --git a/lib_pypy/grp.py b/lib_pypy/grp.py
--- a/lib_pypy/grp.py
+++ b/lib_pypy/grp.py
@@ -25,8 +25,7 @@
         ('gr_mem', POINTER(c_char_p)),
         )
 
-class struct_group:
-    __metaclass__ = _structseq.structseqtype
+class struct_group(metaclass=_structseq.structseqtype):
 
     gr_name   = _structseq.structseqfield(0)
     gr_passwd = _structseq.structseqfield(1)


More information about the pypy-commit mailing list