added index package for multikey dictionaries
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1511 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
4037c37b2c
commit
63b9a45624
1 changed files with 4 additions and 2 deletions
|
@ -56,9 +56,11 @@ Index entries that are present in the stored dictionaries must always match:
|
|||
>>> registry[('index.html', 'topic', 'zope3', 'Custom')]
|
||||
'index.html for type "topic"'
|
||||
|
||||
>>> registry.get(('edit.html', 'task', 'bugfixes', 'Custom'))
|
||||
>>> registry.get(('edit.html', 'task', 'bugfixes', 'Custom')) is None
|
||||
True
|
||||
|
||||
|
||||
>>> registry[('edit.html', None, None, 'Custom')] = 'edit.html for Custom skin'
|
||||
|
||||
>>> registry.get(('edit.html', 'task', 'bugfixes', ''))
|
||||
>>> registry.get(('edit.html', 'task', 'bugfixes', '')) is None
|
||||
True
|
||||
|
|
Loading…
Add table
Reference in a new issue