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 details)
File details
Details for the file z3c.noop-1.0.tar.gz.
File metadata
- Download URL: z3c.noop-1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1a0c62dc989eb25ca86ae0bb79dbcc94ec85c99c802b540b8a82d3815b44d5e
|
|
| MD5 |
afc23e2c309004a2e538c0406251c58a
|
|
| BLAKE2b-256 |
e611c74c347f988b94454ec195915997f3ae87cd547907436f91b40d12cc9fd6
|