support PyPy3: use explicit `self` (fix #410)