debian/update-control.py
def replaceVersion(string, ver1, ver2):
    '''Search 'string' for a BoostVersion ver1.  If
    SharedObjectVersion or PackageVersion of ver1 is found, replace by
    corresponding ver2 version string.  Return the updated string.'''
    string = re.sub(ver1.SharedObjectVersion, ver2.SharedObjectVersion, string)
    string = re.sub(ver1.PackageVersion, ver2.PackageVersion, string)
    return string
Search 'string' for a BoostVersion ver1.  If
    SharedObjectVersion or PackageVersion of ver1 is found, replace by
    corresponding ver2 version string.  Return the updated string.
Search 'string' for a BoostVersion ver1.  If
SharedObjectVersion or PackageVersion of ver1 is found, replace by
corresponding ver2 version string.  Return the updated string.
Search ' string ' for a BoostVersion ver1 . If SharedObjectVersion or PackageVersion of ver1 is found replace by corresponding ver2 version string . Return the updated string .
def replaceVersion(string, ver1, ver2):
    string = re.sub(ver1.SharedObjectVersion, ver2.SharedObjectVersion, string)
    string = re.sub(ver1.PackageVersion, ver2.PackageVersion, string)
    return string
def replaceVersion ( string , ver1 , ver2 ) : string = re . sub ( ver1 . SharedObjectVersion , ver2 . SharedObjectVersion , string ) string = re . sub ( ver1 . PackageVersion , ver2 . PackageVersion , string ) return string
Search 'string' for a BoostVersion ver1.
Search ' string ' for a BoostVersion ver1 .
'''Search 'string' for a BoostVersion ver1.  If
    SharedObjectVersion or PackageVersion of ver1 is found, replace by
    corresponding ver2 version string.  Return the updated string.'''
string
ver1
ver2