Hi,

I followed the docstring here:

http://sagemath.org/doc/reference/sage/symbolic/expression.html#sage.symbolic.expression.Expression.match

$ sage
----------------------------------------------------------------------
| Sage Version 4.1, Release Date: 2009-07-09                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: var('x,y,z,a,b,c,d,e,f')
(x, y, z, a, b, c, d, e, f)
sage: w0 = SR.wild(0); w1 = SR.wild(1); w2 = SR.wild(2)
sage: t = ((x+y)^a).match(w0^w1)
sage: t[w0], t[w1]
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)

/home/ondrej/<ipython console> in <module>()

TypeError: 'bool' object is unsubscriptable
sage:



what am I doing wrong?

Ondrej

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to