def static_div(divisor):
    """
    >>> class A:
    ...     m = static_div(10)
    ...
    >>> a = A()
    >>> a.m(12345)
    1234
    """
    def func(divident):
        return divident // divisor
    return staticmethod(func)