Jim Newton wrote: > class Pair(list): > ... > > how can i "cast", "promote" [] to class Pair? >>> class Pair(list): pass ... >>> p = Pair([]) >>> p [] >>> type(p) <class '__main__.Pair'> Or was there some other behavior you had in mind? Robert Brewer MIS Amor Ministries fumanchu at amor.org