Mercurial > fife-parpg
diff engine/extensions/pychan/exceptions.py @ 329:aca5744f017a
Added fast path for Widget.findChild(name=name). Roughly 10x faster.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 24 Aug 2009 10:01:06 +0000 |
parents | 54bfd1015b35 |
children | 48c99636453e |
line wrap: on
line diff
--- a/engine/extensions/pychan/exceptions.py Mon Aug 24 09:20:28 2009 +0000 +++ b/engine/extensions/pychan/exceptions.py Mon Aug 24 10:01:06 2009 +0000 @@ -1,4 +1,4 @@ -# coding: utf-8 +# -*- coding: utf-8 -*- class PyChanException(Exception): """ @@ -33,4 +33,8 @@ """ Exception raised if private attributes/functions are used. """ - pass + +class StopTreeWalking(StopIteration): + """ + Internal exception used to abort iteration over the widget tree. + """