def Channel(n):
 rv = channels.get(n, None)
 if (rv is None):
  rv = ChannelImpl(n)
  channels[n] = rv
 return rv

def Channel ( n ) : rv = channels . get ( n , None ) if ( rv is None ) : rv = ChannelImpl ( n ) channels [ n ] = rv return rv
gets the channel with the given number .