Greyed out element in API reference for st.multiselect creates confusion, may need removing

The code snippet, when pasted as is in an IDE/Jupyter/Colab, creates an error (error: tuple not callable)

Screenshot for context:
image

URL reference:
https://docs.streamlit.io/api.html#streamlit.multiselect

Wouldn’t it be better to remove it? (Unless it is there for a specific reason?)

Thanks
Charly

Thanks for flagging that @Charly_Wargnier, I’ll take a look

1 Like

Somehow didn’t spot there was already a reply here so sorry if this is duplicating work.

I put up an issue and small PR https://github.com/streamlit/streamlit/issues/1441

2 Likes

No problem at all @Ian_Calvert, thanks for doing that! I’ll try and review your PR today :+1:

1 Like