Skip to content

Commit a03e9a0

Browse files
author
Vimal A R
authored
Update README.md
1 parent 0b2f35e commit a03e9a0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -359,11 +359,13 @@ getsizeof(...)
359359

360360
4. A **_scope_** is a section where a namespace is directly accessible, for example, `dir()` shows the current namespace scope.
361361

362-
5. Dot notations ('.') are used to access in-direct namespaces:
363-
sys.version_info.major
364-
p.x
365-
"Hello".__add__(" World!")
362+
5. Dot notations ('.') are used to access in-direct namespaces. Some examples:
366363

364+
```python
365+
>>> sys.version_info.major
366+
p.x
367+
>>> "Hello".__add__(" World!")
368+
```
367369
6. It's better not to overwrite builtin names with custom ones, unless there is a strong reason to do so.
368370

369371
**NOTE:**

0 commit comments

Comments
 (0)