DI
♪ dict
- Built-in Types — Python 3.7.3 documentation ¶ 5.8. Mapping Types — dict
Python 3.1 (r31:73578, Jun 27 2009, 21:49:46)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "copyright", "credits" or "license()" for more information.
>>> dir(dict)
['__class__', '__contains__', '__delattr__', '__delitem__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__iter__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'clear', 'copy', 'fromkeys', 'get', 'items', 'keys', 'pop', 'popitem', 'setdefault', 'update', 'values']
- Java の素描
- #2007-01-11 #008: 辞書を利用する:組み込み型 dict
- @
- 実録 はじめての…《30》削除:メソッド __delitem__ - 続・ひよ子のきもち
- 2009-03-20 実録 はじめての…《13》データ構造(3)辞書
Last updated♪2010/07/23>>> dir(dict)
['', '__delitem__', '', '__getitem__', '', '__setitem__', '', '__str__', '', 'fromkeys', 'get', 'items', 'keys', '', 'update', 'values']
item d[key] = value object.__setitem__ del d[key] object.__delitem__
- 5. Built-in Types — Python v3.1.5 documentation ¶ object.__dict__
- 2002-05-16 Python.use(better) 特殊メソッド __setattr__
- 2002-02-01 Python.use(better) #Stack: step04 -- def __getattr__(self, name)
- 《Jython2.5》Tutorials - Classes and Objects, #1 - 続・ひよ子のきもち
♪ set.difference
- 5. Built-in Types — Python v3.1.5 documentation ¶ set.difference
- 2002-06-06 Python.use(better) #組み込み型 -- set.difference
♪ set.discard
- 5. Built-in Types — Python v3.1.5 documentation ¶ set.discard
- 2002-06-12 Python.use(better) #組み込み型 -- set.discard
♪ __doc__
- Python.use(better)
- 2002-04-11 Python.use(better) #def: 関数 -- オブジェクト
- 2002-10-30 Python.use(better) #Tutor: step07 -- def do_help(self, view, target, item)
@@@
Default Argument Values ¶4. More Control Flow Tools — Python 3.7.3 documentation
object.__delattr__(self, name) ¶3. Data model — Python 3.7.3 documentation