Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
1d7af199
Commit
1d7af199
authored
Jul 24, 2008
by
Thomas Lotze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added missing __getitem__ method to IMinimalDictionary, fixed another doc string
parent
3037f42a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/BTrees/Interfaces.py
src/BTrees/Interfaces.py
+7
-1
No files found.
src/BTrees/Interfaces.py
View file @
1d7af199
...
...
@@ -140,13 +140,19 @@ class IMinimalDictionary(ISized, IKeyed):
Return the default if has_key(key) is false.
"""
def
__getitem__
(
key
):
"""Get the value associated with the given key.
Raise KeyError if has_key(key) is false.
"""
def
__setitem__
(
key
,
value
):
"""Set the value associated with the given key."""
def
__delitem__
(
key
):
"""Delete the value associated with the given key.
Raise KeyError if
the key if
has_key(key) is false.
Raise KeyError if has_key(key) is false.
"""
def
values
(
min
=
None
,
max
=
None
,
excludemin
=
False
,
excludemax
=
False
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment