[IronPython] style question - site.py

Sanghyeon Seo sanxiyn at gmail.com
Sat Apr 14 05:44:02 CEST 2007


2007/4/14, ctrachte at gmail.com <ctrachte at gmail.com>:
> 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.

-- 
Seo Sanghyeon



More information about the Ironpython-users mailing list