Skip to content

Commit 8e291e3

Browse files
committed
Adds Process._counter for compat with <Py3.5
1 parent 4c49cce commit 8e291e3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

billiard/process.py

+5
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,11 @@ def sentinel(self):
228228
except AttributeError:
229229
raise ValueError("process not started")
230230

231+
@property
232+
def _counter(self):
233+
# compat for 2.7
234+
return _process_counter
235+
231236
@property
232237
def _children(self):
233238
# compat for 2.7

0 commit comments

Comments
 (0)