Hashable
هاشهەڵگر
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە Definitionپێناسە
A Python value is hashable when it has a hash value that never changes, so it can be a key or a item. Numbers, strings and tuples of hashable values are hashable; lists, sets and dictionaries are not.
هاشهەڵگرە کاتێک هەیە کە هەرگیز ناگۆڕێت، بۆیە دەتوانێت ببێتە یان . ژمارە، و ئەو هاشهەڵگریان تێدایە هاشهەڵگرن؛ ، و نا.
Exampleنموونە
hash((1, 2)) works; hash([1, 2]) raises TypeError: unhashable type: 'list'.
hash((1, 2)) کار دەکات؛ hash([1, 2]) هەڵەی TypeError: unhashable type: 'list' دەدات.
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
Built like the FOP proposals mutable «گۆڕانهەڵگر» / immutable «گۆڕانهەڵنەگر»: هاش + هەڵگر (that can take a hash). 'Unhashable' would be «هاشهەڵنەگر». Proposed by PYDW2.