Hi,
I just thought of something....both possibilities are possible!
In the DW_Maps_class add the method
def __call__( self ):
return self
Then you have the behavior:
sage: D = DyckWord([1,0])
sage: m = D.maps()
sage: m.<tab>
m.map1 m.map2
sage: D.maps.<tab>
D.maps.map1 D.maps.map2
-Mike
--
You received this message because you are subscribed to the Google Groups
"sage-combinat-devel" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/sage-combinat-devel/-/gBPn8wmenmgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-combinat-devel?hl=en.