[issue11977] Document int.conjugate, .denominator, ...

2021-04-23 Thread Sergey B Kirpichev
Change by Sergey B Kirpichev : -- nosy: +Sergey.Kirpichev ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11977] Document int.conjugate, .denominator, ...

2011-12-24 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Isn't there a way to specify multiple targets for the same entry? The doc could say that int, float and complex all share some methods/attributes and then either list e.g. int.conjugate, float.conjugate, complex.conjugate with a single

[issue11977] Document int.conjugate, .denominator, ...

2011-05-06 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Benjamin: In 2.7, long implements those ABCs too. I have added it to the doc in a local commit, I’ll push when I can. Jonas: Does the commit fix your use case? The attributes are now documented in the sense that a human can find them, but can

[issue11977] Document int.conjugate, .denominator, ...

2011-05-06 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: BTW: If not, you can always use things like :attr:`int.real numbers.Integral.real` (real target in angle brackets, rest is text to display) but it’s a bit unwieldy. -- ___ Python tracker

[issue11977] Document int.conjugate, .denominator, ...

2011-05-06 Thread Jonas H.
Jonas H. jo...@lophus.org added the comment: It doesn't. Sphinx still can't make any links, which btw also means that it's impossible to reference those methods within the Python documentation. Also I want to point out that I find the information very hard to find as a human. The fact that

[issue11977] Document int.conjugate, .denominator, ...

2011-05-06 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Reopening, it makes sense to have everything available for linking. (Even if they are quite obscure attributes.) -- nosy: +georg.brandl status: closed - open ___ Python tracker rep...@bugs.python.org

[issue11977] Document int.conjugate, .denominator, ...

2011-05-06 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Also I want to point out that I find the information very hard to find as a human. The fact that integers are based on `numbers.Number` is -- at this point in time where 95% of all Python developers don't know about the `numbers` module or

[issue11977] Document int.conjugate, .denominator, ...

2011-05-01 Thread Jonas H.
New submission from Jonas H. jo...@lophus.org: Various `int` attributes and methods seem undocumented (at least it does not work to intersphinx them): * .conjugate * .denominator * .imag * .numerator * .real -- assignee: docs@python components: Documentation messages: 134926 nosy:

[issue11977] Document int.conjugate, .denominator, ...

2011-05-01 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset dc65d1b99dff by Benjamin Peterson in branch '3.1': note abcs of int and float (closes #11977) http://hg.python.org/cpython/rev/dc65d1b99dff New changeset 5b315145e525 by Benjamin Peterson in branch '2.7': note abcs of int and float