Xiang Zhang added the comment:

Thanks for the reply berker. It's nice to know this helper. :) But I'd like to 
keep it as now since I don't see any real advantage to use it and swap_attr 
will set the attribute even when it's absent, this is not wanted.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue27414>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to