Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Commit

Permalink
Update e2.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
vanshitaverma authored Oct 23, 2022
1 parent 3251e52 commit 1f4ce8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion error_help/e2.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Error #2: Syntax error in the class definition

Example:
To define a class, use the following syntax:

class <name>:
Expand All @@ -10,6 +11,6 @@ To define a class with multiple inheritance, use the following syntax:
class <name>(<object1>,<object2>):
[Your code here]

In the above samples:
In the above examples:
1. Text written between <> is changeable as per requirement.
2. Code goes between [].

0 comments on commit 1f4ce8f

Please sign in to comment.