On Sun, Jun 10, 2012 at 11:24 PM, Aaron Meurer <[email protected]> wrote: > > Either use Symbol (directly or by subclassing) or look at how Symbol > does it. I think the key for Symbol is that it subclasses from Atom, > so it has an empty .args. Also, it overrides _hashable_content so that > it hashes correctly.
Symbol has an empty .args. However, I seem to have just got an asnwer from one of Tom's new comments on my pull request [0]: store a Tuple(name). Is this going to be OK? I'm just afraid that using Symbol will bring too much stuff into my simple class. Sergiu -- You received this message because you are subscribed to the Google Groups "sympy" group. 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/sympy?hl=en.
