[Python-ideas] Re: Runtime-accessible attribute docstrings

2021-11-19 Thread Angelo Kontaxis
I feel like we could possible use the slots being a dict here, this is already a supported feature and is able to document attributes indivually, and dataclasses does have a slots argument now in 3.10 class Foo: """docstring for Foo""" __slots__ = {"bar": "docstring for bar"} def __i

[Python-ideas] Python Developer’s Guide chinese version

2021-11-19 Thread Stephen J. Turnbull
zhouwenbon...@mail.nwpu.edu.cn writes: > I want to know does Python Developer’s Guide have chinese version, The closest I found is a Taiwanese version of the general doc site which conforms to PEP 545 (see below). I don't read Chinese well enough to be sure, but I do not think the devguide is