Lines Matching refs:hash
279 'hash',
287 def __init__(self, default, default_factory, init, repr, hash, compare,
295 self.hash = hash
312 f'hash={self.hash!r},'
369 hash=None, compare=True, metadata=None, kw_only=MISSING):
376 object's repr(). If hash is true, the field will be included in the
377 object's hash(). If compare is true, the field will be used in
388 return Field(default, default_factory, init, repr, hash, compare,
642 [f'return hash({self_tuple})'],
837 # Decide if/how we're going to create a hash function. Key is
838 # (unsafe_hash, eq, frozen, does-hash-exist). Value is the action to
846 flds = [f for f in fields if (f.compare if f.hash is None else f.hash)]
858 # | | | +---------------- has-explicit-hash?
1083 # Decide if/how we're going to create a hash function.