Changes between Initial Version and Version 1 of Ticket #16360, comment 4


Ignore:
Timestamp:
08/13/11 08:36:00 (4 years ago)
Author:
aaugustin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16360, comment 4

    initial v1  
    4646I suppose you first check `if self._instance is not None` to avoid the performance hit of taking the lock; this optimization should be explained in a quick comment.
    4747
    48 I think the whole function would be more easier to understand like this:
     48I think the whole function would be easier to understand like this:
    4949
    5050{{{
Back to Top