Exemplo n.º 1
0
def _hash(self):
    assert isinstance(self, Symbol)
    if self._hash == 0:
        self._hash = util.hash_unencoded_chars(self._str)
    return rt.wrap(intmask(self._hash))
Exemplo n.º 2
0
def _hash(self):
    return rt.wrap(intmask(util.hash_unencoded_chars(self._str)))
Exemplo n.º 3
0
def _hash(self):
    assert isinstance(self, Keyword)
    if self._hash == 0:
        self._hash = util.hash_unencoded_chars(self._str)
    return rt.wrap(intmask(self._hash))
Exemplo n.º 4
0
def _hash(self):
    assert isinstance(self, String)
    return rt.wrap(intmask(util.hash_unencoded_chars(self._str)))
Exemplo n.º 5
0
def _hash(self):
    assert isinstance(self, String)
    return rt.wrap(intmask(util.hash_unencoded_chars(self._str)))
Exemplo n.º 6
0
def _hash(self):
    return numbers.Integer(intmask(util.hash_unencoded_chars(self._str)))