parameters: (self)
return_statement: return self._return_code
docstring: Poll.
docstring_summary: Poll.
docstring_tokens: Poll .
function: def poll(self):
          """Poll."""
          if self._return_code is None:
              process = self._stub.Get(self._id)
              if not process.running:
                  self.wait()
          return self._return_code
function_tokens: def poll ( self ) : if self . _return_code is None : process = self . _stub . Get ( self . _id ) if not process . running : self . wait ( ) return self . _return_code