docs/library/builtins: Add docs for delattr and slice.

pull/2536/merge
Damien George 2016-10-25 11:02:47 +11:00
rodzic 2550d7dfd2
commit f1b2b1b600
1 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -28,6 +28,11 @@ All builtin functions are described here. They are also available via
.. class:: complex()
.. function:: delattr(obj, name)
The argument *name* should be a string, and this function deletes the named
attribute from the object given by *obj*.
.. class:: dict()
.. function:: dir()
@ -110,6 +115,10 @@ All builtin functions are described here. They are also available via
.. function:: setattr()
.. class:: slice()
The *slice* builtin is the type that slice objects have.
.. function:: sorted()
.. function:: staticmethod()