Combine the two explanations of the term 'dunder'

This commit is contained in:
Nick Coghlan 2012-01-27 20:58:39 +10:00
parent cb213988f3
commit b3f7405200
1 changed files with 4 additions and 3 deletions

View File

@ -242,9 +242,10 @@ Using a package name without leading and trailing underscores
It was proposed [1]_ to use a package name like ``preview`` or ``exp``, instead It was proposed [1]_ to use a package name like ``preview`` or ``exp``, instead
of ``__preview__``. This was rejected in the discussion due to the special of ``__preview__``. This was rejected in the discussion due to the special
meaning a "dunder" (double-underscore) package name (a name *with* leading and meaning a "dunder" package name (that is, a name *with* leading and
trailing underscores) conveys in Python. Besides, a non-dunder name indicates trailing double-underscores) conveys in Python. Besides, a non-dunder name
stability, which is not the intention of the ``__preview__`` package. would suggest normal standard library API stability guarantees, which is not
the intention of the ``__preview__`` package.
Preserving pickle compatibility Preserving pickle compatibility