A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/1999-June/095380.html below:

[Python-Dev] Re: Aside: apply syntax

[Python-Dev] Re: Aside: apply syntaxDavid Ascher da at ski.org
Fri Jun 11 07:36:30 CEST 1999
On Thu, 10 Jun 1999, David Ascher wrote:


> class SubFoo(Foo):
>   def __init__(self, *args, **kw):
>     apply(Foo, (self, ) + args, kw)
>     ...
> 
> could be written
> 
> class SubFoo(Foo):
>   def __init__(self, *args, **kw):
>     Foo(self, *args, **kw)

Of course I meant Foo.__init__ in both of the above!

--david



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4