

@classmethod
def get_content_version(cls, abspath):
    "Returns a version string for the resource at the given path.\n\n        This class method may be overridden by subclasses.  The\n        default implementation is a hash of the file's contents.\n\n        .. versionadded:: 3.1\n        "
    data = cls.get_content(abspath)
    hasher = hashlib.md5()
    if isinstance(data, bytes_type):
        cls.update(data)
    else:
        for chunk in data:
            hasher.update(chunk)
    return hasher.hexdigest()

dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/web.py StaticFileHandler.get_content_version/VarMisuse@44/134 `hasher`->`cls`