This commit is contained in:
Raymond Hettinger 2003-11-16 13:44:19 +00:00
parent 6dab05231d
commit d456849f19
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ False
>>> employees.union_update(engineers) # update from another set
>>> employees.issuperset(engineers)
True
>>> for group in [engineers, programmers, management, employees]:
>>> for group in [engineers, programmers, managers, employees]:
... group.discard('Susan') # unconditionally remove element
... print group
...