def _check_version(self, request):
        """Verify the correct version of the request for this server."""
        version = self._get_version(request)
        if version and version != self.version:
            raise Error('OAuth version %s not supported.' % str(version))
def _check_version ( self , request ) : version = self . _get_version ( request ) if version and version != self . version : raise Error ( 'OAuth version %s not supported.' % str ( version ) )
Verify the correct version of the request for this server.