On 10/23/13 4:16 AM, Steven D'Aprano wrote:
On Tue, 22 Oct 2013 09:38:16 +0200, Lele Gaifax wrote:

Roy Smith <r...@panix.com> writes:

You missed the ever-so-special Objective C syntax:
[...]
The actual syntax would be

   [object method: arg1 withSomething: arg2 withSomethingElse: arg3]
I don't get how to map that to Python's syntax.

object.method(arg1, arg2, arg3)

What are "withSomething" and "withSomethingElse"?



The Python would be:

    object.method(arg1, withSomething=arg2, withSomethingElse=arg3)

--Ned.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to