Skip to content

Commit c1eb832

Browse files
committed
adding warning
1 parent 3a51270 commit c1eb832

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

wolframclient/utils/lock.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
from __future__ import absolute_import, print_function, unicode_literals
22

3+
import warnings
4+
35
try:
46
import multithreading
57

@@ -18,4 +20,5 @@ def Lock():
1820

1921
@contextmanager
2022
def Lock():
23+
warnings.warn("Lock is not implemented in the current interpreter.", RuntimeWarning)
2124
yield

0 commit comments

Comments
 (0)