[docs] Set documentation bug

Sandro Tosi sandro.tosi at gmail.com
Thu Feb 17 22:33:30 CET 2011


Hi Davide,
thanks for your email.

On Fri, Feb 11, 2011 at 18:20, Davide Del Vento
<davide.del.vento at gmail.com> wrote:
> Hi,
> I'd like to suggest a little but IMO important improvement for this
> page: http://docs.python.org/library/sets.html
>
> The sentence "Deprecated since version 2.6: The built-in set/frozenset
> types replace this module." should link to
> http://docs.python.org/library/stdtypes.html#set etc.

absolutely, nice catch

> The following patch would do the job.
>
> Thanks and Regards,
> Davide
>
> --- sets.txt    2011-02-11 17:15:05.833691409 +0000
> +++ sets.txt.orig       2011-02-11 17:14:30.282993805 +0000
> @@ -14,7 +14,7 @@
> .. versionadded:: 2.3
>
> .. deprecated:: 2.6
> -   The built-in :class:`set`\/\ :class:`frozenset` types replace this module.
> +   The built-in ``set``/``frozenset`` types replace this module.
>
> The :mod:`sets` module provides classes for constructing and manipulating
> unordered collections of unique elements.  Common uses include membership

thanks for the patch (even if it's in reverse :) - I just submitted
http://bugs.python.org/issue11238 to have this fixed.

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


More information about the docs mailing list