diff options
| author | Damien George <damien.p.george@gmail.com> | 2016-10-25 11:02:47 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2016-10-25 11:02:47 +1100 |
| commit | f1b2b1b600cd21d4835c3ad6c784eaafd215c046 (patch) | |
| tree | 5e03585721e0813fd617f7e3894373f585c18d25 /docs/library/builtins.rst | |
| parent | 2550d7dfd2e9032474a33d8208868f42680c5863 (diff) | |
docs/library/builtins: Add docs for delattr and slice.
Diffstat (limited to 'docs/library/builtins.rst')
| -rw-r--r-- | docs/library/builtins.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/library/builtins.rst b/docs/library/builtins.rst index 42768ab99..d53c4d377 100644 --- a/docs/library/builtins.rst +++ b/docs/library/builtins.rst @@ -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() |
