2010/8/18 Mateusz Paprocki <matt...@gmail.com>:
>
> The syntax was added in polys11 branch, e.g.:
>
> In [1]: symbols('x:z')
> Out[1]: (x, y, z)
>
> In [2]: symbols('a:d,x:z')
> Out[2]: (a, b, c, d, x, y, z)
>
> In [3]: symbols(('a:d', 'x:z'))
> Out[3]: ((a, b, c, d), (x, y, z))
>
> In [4]: symbols('xx:zz')
> (...)
> ValueError: 'xx:zz' is not a valid symbol range specification
>
> (for now only symbols of length one are allowed, and only colon).

Great, +1 on this syntax. I think it is ok to keep

>>> symbols('abc')
(a, b, c)

with the alternative

>>> symbols('abc ') # or 'abc,'
abc

But maybe it is better to replace it with "symbols('a:c')" all over sympy.

Vinzent

-- 
You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patc...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en.

Reply via email to