win32wnet.WNetAddConnection2 to specific network interface?

Sean DiZazzo half.italian at gmail.com
Thu Apr 15 01:12:45 EDT 2010


On Apr 14, 9:22 pm, Dennis Lee Bieber <wlfr... at ix.netcom.com> wrote:
> On Wed, 14 Apr 2010 15:18:11 -0700 (PDT), Sean DiZazzo
> <half.ital... at gmail.com> declaimed the following in
> gmane.comp.python.general:
>
>
>
> >     def wnet_connect(self, host, username, password):
>
>         The presence of "self" in that parameter list implies this is a
> method defined inside a class.
>
> >                     return wnet_connect(host, username, password)
>
>         This recursive call is missing the instance reference...
>
>                                 return self.wnet_connect(...)


Wow.  Good eye!  To be honest, I'm not sure how that happened.  I
guess it should have given me an error if it ever reached that block
though, right?

I'll take a close look at that tomorrow AM.  Thanks!

~Sean



More information about the Python-list mailing list