File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,6 +51,15 @@ \section{Built-in Functions}
5151 if it consists of a single expression.
5252\end {funcdesc }
5353
54+ \begin {funcdesc }{delattr}{object\, name}
55+ This is a relative of \code {setattr}. The arguments are an
56+ object and a string. The string must be the name
57+ of one of the object's attributes. The function deletes
58+ the named attribute, provided the object allows it. For example,
59+ \code {setattr(\var {x}, '\var{foobar}' )} is equivalent to
60+ \code {del \var {x}.\var {foobar}}.
61+ \end {funcdesc }
62+
5463\begin {funcdesc }{dir}{}
5564 Without arguments, return the list of names in the current local
5665 symbol table. With a module, class or class instance object as
Original file line number Diff line number Diff line change @@ -51,6 +51,15 @@ \section{Built-in Functions}
5151 if it consists of a single expression.
5252\end {funcdesc }
5353
54+ \begin {funcdesc }{delattr}{object\, name}
55+ This is a relative of \code {setattr}. The arguments are an
56+ object and a string. The string must be the name
57+ of one of the object's attributes. The function deletes
58+ the named attribute, provided the object allows it. For example,
59+ \code {setattr(\var {x}, '\var{foobar}' )} is equivalent to
60+ \code {del \var {x}.\var {foobar}}.
61+ \end {funcdesc }
62+
5463\begin {funcdesc }{dir}{}
5564 Without arguments, return the list of names in the current local
5665 symbol table. With a module, class or class instance object as
You can’t perform that action at this time.
0 commit comments