[pypy-commit] pypy default: eh, don't export w_ in front of every attribute

fijal noreply at buildbot.pypy.org
Thu Jul 12 19:40:55 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r56040:208ef00be27d
Date: 2012-07-12 19:40 +0200
http://bitbucket.org/pypy/pypy/changeset/208ef00be27d/

Log:	eh, don't export w_ in front of every attribute

diff --git a/pypy/module/pypyjit/interp_resop.py b/pypy/module/pypyjit/interp_resop.py
--- a/pypy/module/pypyjit/interp_resop.py
+++ b/pypy/module/pypyjit/interp_resop.py
@@ -333,12 +333,12 @@
 
 W_JitInfoSnapshot.typedef = TypeDef(
     "JitInfoSnapshot",
-    w_loop_run_times = interp_attrproperty_w("w_loop_run_times",
+    loop_run_times = interp_attrproperty_w("w_loop_run_times",
                                              cls=W_JitInfoSnapshot),
-    w_counters = interp_attrproperty_w("w_counters",
+    counters = interp_attrproperty_w("w_counters",
                                        cls=W_JitInfoSnapshot,
                                        doc="various JIT counters"),
-    w_counter_times = interp_attrproperty_w("w_counter_times",
+    counter_times = interp_attrproperty_w("w_counter_times",
                                             cls=W_JitInfoSnapshot,
                                             doc="various JIT timers")
 )


More information about the pypy-commit mailing list