Skip to content

Wrong Quote in Code Example in "Main Concepts" page #266

@amitness

Description

@amitness

Summary

Due to quote ` instead of a single quote in the code example, it throws an error.

image

Steps to reproduce

What are the steps we should take to reproduce the bug:

  1. Go to Main Concepts page
  2. Scroll down to Widgets section.
  3. Copy the code for the square the number example and run using streamlit.

Expected behavior:

The code should have worked correctly in the interpreter.

Actual behavior:

Python throws syntax error due to wrong quote.

Is this a regression?

no

Debug info

  • Streamlit version: 0.47.2
  • Python version: 3.7
  • Using Conda
  • OS version: Linux Mint 18.3
  • Browser version: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions