Merge pull request #3234 from tomowind/issue_3225
#3225: document "del tb"
This commit is contained in:
commit
14e9291380
1 changed files with 2 additions and 0 deletions
|
|
@ -132,6 +132,8 @@ def _called_with_wrong_args(factory):
|
|||
# didn't reach the factory
|
||||
return True
|
||||
finally:
|
||||
# explicitly delete tb as it is circular referenced
|
||||
# https://docs.python.org/2/library/sys.html#sys.exc_info
|
||||
del tb
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue