Skip to content

Commit b9695e5

Browse files
committed
docs (Core): Add target method docstring
1 parent a807f99 commit b9695e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DIRAC/Core/Utilities/ThreadSafe.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ def lockedFunc(*args, **kwargs):
2929
print("UNLOCKING", self.__lockName)
3030
self.__lock.release()
3131

32+
# Add target method docstring that this description appeared when compiling the documentation
33+
lockedFunc.__doc__ = funcToCall.__doc__
3234
return lockedFunc
3335

3436
def lock(self):

0 commit comments

Comments
 (0)