Thanks for the document! To my current understanding, RPython does not allow a class member function call. Is this correct? The module I wrote looks like this: pytest module: class a def func1: ... s = a() def func: s.func() And in another module to use pytest module, the code is import pytest .pytest.func() I think I should modify pytest module and remove class a: def func: ... Is this correct? On Thu, May 28, 2015 at 9:11 PM, Armin Rigo <arigo@tunes.org> wrote:
Hi Yicong,
On 28 May 2015 at 14:50, Yicong Huang <hengha.mao@gmail.com> wrote:
What is the possible casue to the error? And where we could find some syntax introductions on RPython.
http://rpython.readthedocs.org/en/latest/rpython.html
Note that this method of adding new modules is generally discouraged:
http://pypy.readthedocs.org/en/latest/extending.html
A bientôt,
Armin.