Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita999bcc

Browse files
author
Vimal
committed
* Updated README.md
1 parent7774eeb commita999bcc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎README.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ Attributes or methods specific to a class are called Class attributes
3333

3434
Example:
3535

36-
~~~
36+
```
3737
class MyClass(object):
3838
value = 10
3939
4040
def __init__(self):
4141
pass
42-
~~~
42+
```
4343

4444
Here`value` is a class attribute. These are used when certain values need to be set outside a function.
4545

@@ -128,5 +128,9 @@ REFERENCE: Check the code example in:
128128

129129
--------------
130130

131+
####14. Magic methods
132+
133+
Magic methods
134+
131135

132136

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp