z3c.noop provides traverser that simply skips a path element, so /foo/++noop++qux/bar is equivalent to /foo/bar.
Project description
z3c.noop
z3c.noop provides traverser that simply skips a path element, so /foo/++noop++qux/bar is equivalent to /foo/bar.
This is useful for example to generate varying URLs to work around browser caches[#test-setup]_.
>>> dummy = object() >>> root['foo'] = dummy >>> traverse('/foo') == dummy True >>> traverse('/++noop++12345/foo') == dummy True
CHANGES
1.0 (2009-06-15)
first released version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
z3c.noop-1.0.tar.gz
(3.6 kB
view hashes)