[Python-ideas] documentation: mention the version in which a syntax construct was added

Masklinn masklinn at masklinn.net
Mon Apr 18 19:40:27 CEST 2011


On 2011-04-18, at 07:35 , Nick Coghlan wrote:
> On Mon, Apr 18, 2011 at 2:00 PM, Mathias Panzenböck
> <grosser.meister.morti at gmx.net> wrote:
>> I propose that such things are always mentioned in the documentation and
>> formated so that you can easily find the version numbers.
> 
> That's actually a very good point. We're reasonably consistent about
> doing this in the library reference (via the "versionadded" and
> "versionchanged" tags), but it hasn't been done for the language
> reference.
By the way, when we notice that the tag is missing in some places, what's the flow to fix it?

Today, I suggested using pkgutil.get_data to a colleague, and after a few checks I found out it was apparently added in 2.6 (it isn't available in my 2.5.5), but I didn't find that information marked up in the doc.


More information about the Python-ideas mailing list