[Checkins] [zopefoundation/AccessControl] 14db9b: Use '__self__' instead of 'im_self' everywhere. (#...

GitHub noreply at github.com
Wed Feb 1 16:32:51 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/AccessControl
  Commit: 14db9b87483471b15e442c10bab1400c88b079a5
      https://github.com/zopefoundation/AccessControl/commit/14db9b87483471b15e442c10bab1400c88b079a5
  Author: Maurits van Rees <maurits at vanrees.org>
  Date:   2017-02-01 (Wed, 01 Feb 2017)

  Changed paths:
    M include/ExtensionClass/ExtensionClass.h
    M src/AccessControl/ImplPython.py
    M src/AccessControl/Permission.py
    M src/AccessControl/ZopeSecurityPolicy.py
    M src/AccessControl/userfolder.py
    M src/AccessControl/users.py

  Log Message:
  -----------
  Use '__self__' instead of 'im_self' everywhere. (#26)

* Use '__self__' instead of 'im_self' everywhere.

And only use it if it is not None, which is true for functions instead of methods.

* Use '__self__' instead of 'im_self' in ExtensionClass.h.




More information about the checkins mailing list