We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf9c867 commit 74c1db1Copy full SHA for 74c1db1
examples/simple_thing.py
@@ -1,10 +1,7 @@
1
#!/usr/bin/env python
2
-from gevent import monkey
+from labthings import monkey
3
4
-# Patch most system modules. Leave threads untouched so we can still use them normally if needed.
5
-print("Monkey patching with Gevenet")
6
-monkey.patch_all(thread=False)
7
-print("Monkey patching successful")
+monkey.patch_all()
8
9
import random
10
import math
@@ -25,11 +22,6 @@
25
22
"""
26
23
27
24
28
-from gevent.monkey import get_original
29
-
30
-get_ident = get_original("_thread", "get_ident")
31
32
33
class MyComponent:
34
def __init__(self):
35
self.x_range = range(-100, 100)
0 commit comments