Author: Philip Jenvey <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit