• Link Mauve's avatar
    Make poezio.core.struct more Cython-friendly. · bfb02d64
    Link Mauve authored
    Status and Command are now slotted classes instead of namedtuples,
    which led to a few changes to access them with their named parameters
    instead of as a tuple.
    
    “short” being a C type, I renamed Command.short into
    Command.short_desc, which is more explicit anyway.
    
    I also renamed possible_show into POSSIBLE_SHOW, as it is a
    module-level constant dict.
    bfb02d64
basetabs.py 30.2 KB