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


Ignore:
Timestamp:
Aug 13, 2011, 8:36:00 AM (13 years ago)
Author:
Aymeric Augustin

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