ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 31 Jul 2019 00:00:31 +0200Docstring docs and html docs are differenthttps://ask.sagemath.org/question/47317/docstring-docs-and-html-docs-are-different/If I try to type for example `factor?` in sage console It yields very detailed output with documentation based on dosctrings. But if I try to find `factor` in html\pdf docs (offline and [online](http://doc.sagemath.org/html/en/reference/search.html?q=factor&check_keywords=yes&area=default)) there is no such search results.
So two questions:
- How to get that complete docsrting help from outside sage console?
- Why they are different?
P.S. Example `factor?` output:
> **Signature:** `factor(n, proof=None, int_=False,
> algorithm='pari', verbose=0, **kwds)`
>
> **Docstring:** Returns the factorization of "n". The result
> depends on the type of "n".
>
> If "n" is an integer, returns the
> factorization as an object of type
> "Factorization".
>
> If n is not an integer,
> "n.factor(proof=proof, **kwds)" gets
> called. See "n.factor??" for more
> documentation in this case.
>
> Warning: This means that applying
> "factor" to an integer result
> of a symbolic computation will not factor the integer, because it
> is considered as an element of a larger symbolic ring.EXAMPLES:
>
> sage: f(n)=n^2
> sage: is_prime(f(3))
> False
> sage: factor(f(3))
> 9 ...petRUShkaWed, 31 Jul 2019 00:00:31 +0200https://ask.sagemath.org/question/47317/