title: PKCS1_PSS sign() method
body: <p>I have been trying to fix an issue but failed countless times. I need to use a method, sign(), and I have the correct library imported, however its still not being recognized.</p>
  
  <p>I'm coding in Python and this is what I have that seems important:</p>
  
  <pre><code>#importing the library
  from Crypto.Signature import PKCS1_PSS
  
  [...]
  signer = PKCS1_PSS.new(keypair)
  sig = PKCS1_PSS.sign(keypair)
  </code></pre>
  
  <p>But the sign() method is the only thing in the entire code from that library that doesn't get recognized:</p>
  
  <blockquote>
    <p>"This inspection detects names that should resolve but don't. Due to
    dynamic dispatch and duck typing, this is possible in a limited but
    useful number of cases. Top-level and class-level items are supported
    better than instance items."</p>
  </blockquote>
  
  <p>Does anyone have any suggestions on how to fix this or know what I'm doing wrong?</p>