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

This commit is contained in:
Damien George 2016-10-25 11:02:47 +11:00
parent 2550d7dfd2
commit f1b2b1b600

View File

@ -28,6 +28,11 @@ All builtin functions are described here. They are also available via
.. class:: complex() .. 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() .. class:: dict()
.. function:: dir() .. function:: dir()
@ -110,6 +115,10 @@ All builtin functions are described here. They are also available via
.. function:: setattr() .. function:: setattr()
.. class:: slice()
The *slice* builtin is the type that slice objects have.
.. function:: sorted() .. function:: sorted()
.. function:: staticmethod() .. function:: staticmethod()