Skip to content

Commit 5da5f41

Browse files
authored
Update readme.md
1 parent c1a71ec commit 5da5f41

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

readme.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Python Syntax Errors: Common Mistakes and How to Fix Them
22

3+
- [How to read Python syntax errors](#how-to-read-python-syntax-errors)
4+
- [How to fix syntax errors](#how-to-fix-syntax-errors)
5+
* [Misplaced, missing, or mismatched punctuation](#misplaced-missing-or-mismatched-punctuation)
6+
* [Misspelled, misplaced, or missing Python keywords](#misspelled-misplaced-or-missing-python-keywords)
7+
* [Illegal characters in variable names](#illegal-characters-in-variable-names)
8+
* [Incorrect indentation](#incorrect-indentation)
9+
* [Incorrect use of the assignment operator (=)](#incorrect-use-of-the-assignment-operator)
10+
11+
312
This article examines how to read and fix Python syntax errors with the
413
help of practical web scraping examples.
514

@@ -396,7 +405,7 @@ harder to read. Using this method can bring about unnecessary syntax
396405
errors when they can be avoided by sticking to either spaces or tabs
397406
throughout the code.
398407
399-
### Incorrect use of the assignment operator (=)
408+
### Incorrect use of the assignment operator
400409
401410
1. Ensure you aren’t assigning values to functions or literals with the assignment operator `=`. You can only assign values to variables. Here’s an overview of some examples:
402411

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy