title: Hide some maybe-no-member Pylint errors
body: <p>The following <code>Python</code> fragment code gets analyzed by <code>Pylint</code>:</p>
  
  <pre><code>if type(result) is array.array:
      read = result.tobytes()
  </code></pre>
  
  <p>... with the following error for the last line:</p>
  
  <pre><code>E:401,22: Instance of 'int' has no 'tobytes' member\ 
   (but some types could not be inferred) (maybe-no-member)
  </code></pre>
  
  <p>The <code>result</code> variable is received from an external function. How can I change (correct) the code to make Pylint understand? Or how can I tell it that the result of the function can have other types than int? Or how can I tell it to ignore that particular line? (I favor an answer in this order of the questions)</p>