parameters: (self, distribution)
return_statement: return iscomp
docstring: Return True if package is compatible with distribution in terms of
          architecture and Python version (if applyable)
docstring_summary: Return True if package is compatible with distribution in terms of
          architecture and Python version (if applyable)
docstring_tokens: Return True if package is compatible with distribution in terms of architecture and Python version ( if applyable )
function: def is_compatible_with(self, distribution):
          """Return True if package is compatible with distribution in terms of
          architecture and Python version (if applyable)"""
          iscomp = True
          if self.architecture is not None:
              # Source distributions (not yet supported though)
              iscomp = iscomp and self.architecture == distribution.architecture
          if self.pyversion is not None:
              # Non-pure Python package
              iscomp = iscomp and self.pyversion == distribution.version
          return iscomp
function_tokens: def is_compatible_with ( self , distribution ) : iscomp = True if self . architecture is not None : # Source distributions (not yet supported though) iscomp = iscomp and self . architecture == distribution . architecture if self . pyversion is not None : # Non-pure Python package iscomp = iscomp and self . pyversion == distribution . version return iscomp