

def major(self, fill=True):
    self_list = self.as_list
    v = (str(self_list[0]) if self_list else '0')
    if fill:
        return Version('.'.join([self_list, 'Y', 'Z']))
    return Version(v)

dataset/ETHPy150Open conan-io/conan/conans/model/version.py Version.major/VarMisuse@49/60 `v`->`self_list`