bpo-33869: Add link to list definition in Glossary list entry by andresdelfino · Pull Request #7706 · python/cpython

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Although it would be handy for newcomers to know some usages of a set, should this be considered part of the definition?

I am refering to this part:

eases duplicate removal and computation of mathematical operations such as intersection and difference.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks folks. Perhaps reorganizing a bit would help:

An unordered collection of distinct :term:`hashable` objects that were introduced in :pep:`218`.

Python provides two built-in set types: set (a :term:`mutable` type), and frozen set (an :term:`immutable` type). See :ref:`types-set`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of Raymon's comment on the BPO issue, I modified the PR substantially, to the point that it only adds a link, actually 😅