For convenient, I would like to add an attribute, upper_bounds, to Poset 
objects

However, after writing the method and issue
Poset.upper_bounds = upper_bounds

X.upper_bounds(S) complains 

'FinitePoset_with_category' object has no attribute 'upper_bounds'

When I try 
FinitePoset_with_category.upper_bounds = upper_bounds

I got 
name 'FinitePoset_with_category' is not defined

So how can one add an attribute to FinitePoset_with_category? 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/d4c4a7b3-4f77-4cce-9174-accec70011a5n%40googlegroups.com.

Reply via email to