[IronPython] style question - site.py

Carl Trachte ctrachte at gmail.com
Sat Apr 14 06:24:24 CEST 2007


> Which is most correct and why?
> >
> > A) >>> site.clr.AddReference(<reference name>)
> > B) >>> import clr.
> >     >>> clr.AddReference
> > C) neither
>
> B is correct.
>
> Well, I can't articulate exactly why, but A just looks wrong.
>
> Works for me.  Thank you.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20070413/bd932b89/attachment.html>


More information about the Ironpython-users mailing list