Re: [sage-devel] Re: docstring of _element_constructor_

2022-09-09 Thread 'Travis Scrimshaw' via sage-devel
I try to make sure the ways (I first typed methods, but then realized this was confusing) to construct the elements is available either in the parent and/or element level documentation by way of examples (maybe saying, "We can construct a foo by giving it a list::"). Best, Travis On Saturday,

Re: [sage-devel] Re: docstring of _element_constructor_

2022-09-09 Thread Dima Pasechnik
On Fri, Sep 9, 2022 at 4:43 PM davida...@gmail.com wrote: > > I believe that the functionalities given by the method _element_constructor_ > should be at least mentioned in the main docstring of the Parent. > > For example, when typing: > > sage: QQ? > > Then, the ouput explains to the us

[sage-devel] Re: docstring of _element_constructor_

2022-09-09 Thread davida...@gmail.com
I believe that the functionalities given by the method _element_constructor_ should be at least mentioned in the main docstring of the Parent. For example, when typing: sage: QQ? Then, the ouput explains to the user how to construct a rational number. This is how I always used Sage. T