You're right that it can be confusing. The function symbols() does do
basically what you said, and it's the function we generally recommend
using.
The reason there is also Symbol() is because Symbol is the class for
symbol objects, and you can create symbol objects directly with the
class constructor. But you only ever need to use the class name Symbol
if you're doing something that requires the class, like isinstance().
Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sympy+un...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/sympy/cd6d1ad8-4a21-4024-8f3f-86f480757e26n%40googlegroups.com.