Skip to content

Commit

Permalink
DOC: Use setattr(self, ...) instead of self.setattr(...) (#9866)
Browse files Browse the repository at this point in the history
  • Loading branch information
jschendel authored and amueller committed Oct 20, 2017
1 parent 9c89f2f commit bd326a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/developers/contributing.rst
Expand Up @@ -1176,7 +1176,7 @@ implement the interface is::

def set_params(self, **parameters):
for parameter, value in parameters.items():
self.setattr(parameter, value)
setattr(self, parameter, value)
return self


Expand Down

0 comments on commit bd326a9

Please sign in to comment.