Declare self-less method as static

Found using pylint
pull/35/head
Alex Willmer 7 years ago
parent bc4498e59e
commit 6b9ac07e65

@ -565,6 +565,7 @@ class Stream(mitogen.core.Stream):
# base64'd and passed to 'python -c'. It forks, dups 0->100, creates a
# pipe, then execs a new interpreter with a custom argv. 'CONTEXT_NAME' is
# replaced with the context name. Optimized for size.
@staticmethod
def _first_stage():
import os,sys,zlib
R,W=os.pipe()

Loading…
Cancel
Save