Mercurial > genshi > genshi-test
diff markup/core.py @ 172:4b4e80b2b0b5
Fix for #30 (trouble using `py:def`inside a match template)
author | cmlenz |
---|---|
date | Fri, 18 Aug 2006 23:23:45 +0000 |
parents | 34e0455ada92 |
children | 41db0260ebb1 |
line wrap: on
line diff
--- a/markup/core.py +++ b/markup/core.py @@ -38,8 +38,9 @@ (kind, data, position) where `kind` is the event kind (such as `START`, `END`, `TEXT`, etc), `data` - depends on the kind of event, and `position` is a `(line, offset)` tuple - that contains the location of the original element or text in the input. + depends on the kind of event, and `position` is a `(filename, line, offset)` + tuple that contains the location of the original element or text in the + input. If the original location is unknown, `position` is `(None, -1, -1)`. """ __slots__ = ['events']