Re: . or : for namespace?
- Posted by yuku <yuku at ?kitek.?om> May 06, 2008
- 669 views
> > > What does this mean? it really means <drum roll> a . b:c > > > > But what can that really mean? Does it mean that c is a constant in > > namespace > > b > > It could be a constant or variable > > > and a.b:c means the same as a[b:c] ? > > Yes. So what you mean is maybe sometime in the future, . can be used as a shorthand for [] ? So we will be able to do a = {10,20,30} a.2 = 50 print(a.3) ?