Yes, this looks like it is contradictory. Please feel free to submit a pull
request fixing it to match the actual behavior.

Aaron Meurer

On Wed, Sep 23, 2020 at 9:07 AM Rishabh Goel <[email protected]> wrote:

> The docstring of padded_key() is as follows:
> """Return a string of the distinct characters of ``symbols`` with
>     those of ``key`` appearing first, omitting characters in ``key``
>     that are not in ``symbols``. A ValueError is raised if a) there are
>     duplicate characters in ``symbols`` or b) there are characters
>     in ``key`` that are  not in ``symbols``.
>
> A ValueError is raised if there are characters in ``key`` which are not in
> ``symbols``. However, The docstring initially mentions that the characters
> in ``key`` will be omitted if not present in ``symbols`` and then a
> complete opposite follows. May  I fix this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/00f89d0d-d759-4c8f-8f99-f60e7faa22e0n%40googlegroups.com
> <https://groups.google.com/d/msgid/sympy/00f89d0d-d759-4c8f-8f99-f60e7faa22e0n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6J9sxM5Ed7KJ%3DTSM4LPBV2MyXQKaGsB5o5gRD9Ki5L%3DMw%40mail.gmail.com.

Reply via email to