Re: [Ironpython-users] Calling a method whose name is a Python keyword

2012-02-27 Thread Douglas S. Blank
> Hi, > > I answer my own question to get the solution into the archives: > >> I have a .NET object which exposes a method "import(some, parameters)" >> method. However, I cannot call this method as "import" is a reserved >> keyword in IronPython. How to call this method? > > The "__getattribute__"

Re: [Ironpython-users] Calling a method whose name is a Python keyword

2012-02-27 Thread Markus Schaber
Hi, I answer my own question to get the solution into the archives: > I have a .NET object which exposes a method "import(some, parameters)" > method. However, I cannot call this method as "import" is a reserved keyword > in IronPython. How to call this method? The "__getattribute__" method se