This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Bug
Type: behavior Stage: resolved
Components: Windows Versions: Python 3.9
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: ASCRong, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2021-01-21 15:00 by ASCRong, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg385427 - (view) Author: Andrew C (ASCRong) Date: 2021-01-21 15:00
if playerChoice == "2": reports the ":" as a "syntax error"
msg385431 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2021-01-21 15:20
That line on its own will cause an IndentationError, which is a subclass of SyntaxError.  However, out of context, without the full traceback, and without a description of your environment, the only thing I have to go on here is the fact that the vast majority of syntax errors are problems in user code, not Python itself.  This is not a forum for getting help with your own program, but you can try out discuss.python.org or the python-list@python.org mailing list for that.
History
Date User Action Args
2022-04-11 14:59:40adminsetgithub: 87155
2021-01-21 15:20:47zach.waresetstatus: open -> closed
resolution: not a bug
messages: + msg385431

stage: resolved
2021-01-21 15:00:13ASCRongcreate