Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZEO
Commits
2d4233a0
Commit
2d4233a0
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
ad957920
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 @
2d4233a0
...
@@ -140,13 +140,19 @@ class IMinimalDictionary(ISized, IKeyed):
...
@@ -140,13 +140,19 @@ class IMinimalDictionary(ISized, IKeyed):
Return the default if has_key(key) is false.
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
):
def
__setitem__
(
key
,
value
):
"""Set the value associated with the given key."""
"""Set the value associated with the given key."""
def
__delitem__
(
key
):
def
__delitem__
(
key
):
"""Delete the value associated with the given 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
):
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