File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -136,24 +136,36 @@ def evolver():
136
136
137
137
138
138
class _ISetType (Interface ):
139
+ """
140
+ The operations that can be performed when transforming a ``PSet`` object.
141
+ """
139
142
def add (item ):
140
143
"""
144
+ Add ``item`` to set.
141
145
"""
142
146
143
147
def remove (item ):
144
148
"""
149
+ Remove ``item`` from set.
145
150
"""
151
+
146
152
classImplements (PSet , _ISetType )
147
153
148
154
149
155
class _IRecordType (Interface ):
150
- def set (item ):
156
+ """
157
+ The operations that can be performed when transforming a ``PSet`` object.
158
+ """
159
+ def set (key , value ):
151
160
"""
161
+ Add or replace the ``key`` in a ``PMap`` with ``value``.
152
162
"""
153
163
154
164
def remove (item ):
155
165
"""
166
+ Remove the ``key`` in a ``PMap``.
156
167
"""
168
+
157
169
classImplements (PMap , _IRecordType )
158
170
classImplements (PClass , _IRecordType )
159
171
You can’t perform that action at this time.
0 commit comments