Search:
Help/Guide
About Trac
Preferences
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
←
Previous Change
Wiki History
Next Change
→
Changes between
Version 9
and
Version 10
of
Python
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
06/16/06 19:43:13 (
18 years
ago)
Author:
atzm
Comment:
--
Legend:
Unmodified
Added
Removed
Modified
Python
v9
v10
130
130
return my_dict
131
131
}}}
132
133
== リストから重複を取り除く ==
134
* ただし順番は勝手にソートされる.
135
136
{{{
137
#!python
138
try:
139
set, frozenset
140
except NameError:
141
from sets import Set as set, ImmutableSet as frozenset
142
143
def uniq(sequence):
144
return list(set(sequence))
145
}}}