Skip to content

Commit b6d22e3

Browse files
committed
refactoring
1 parent 7cfd618 commit b6d22e3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -666,9 +666,7 @@ Therefore, for a CPU-bound task in Python, single-process multi-thread Python pr
666666
<details>
667667
<summary><b> Community Consensus</b></summary>
668668
669-
Removing the GIL would have made **Python 3 slower in comparison to Python 2** in single-threaded performance.
670-
<br/>
671-
Other problem if remove the GIL it's would **broke the existing C extensions** which depend heavily on the solution that the GIL provides
669+
Removing the GIL would have made **Python 3 slower in comparison to Python 2** in single-threaded performance. Other problem if remove the GIL it's would **broke the existing C extensions** which depend heavily on the solution that the GIL provides.
672670
<br/>
673671
Although many proposals have been made to eliminate the GIL, the general consensus has been that in most cases, the advantages of the GIL outweigh the disadvantages; in the few cases where the GIL is a bottleneck, the application should be built around the multiprocessing structure.
674672
@@ -717,15 +715,17 @@ sys.paths
717715
# '/usr/lib/python3/dist-packages']
718716
```
719717
720-
To see where a packeage was imported from you can use the attribute `__file__`:
718+
<br/>
719+
720+
Now, to see where a packeage was imported from you can use the attribute `__file__`:
721721
```python
722722
import zipp
723723
724724
zipp.__file__
725725
# '/usr/lib/python3/dist-packages/zipp.py'
726726
```
727727
728-
You can see that the `__file__` directory is in the list of directories searched by the interpreter.
728+
> NOTE: you can see that the `__file__` directory is in the list of directories searched by the interpreter.
729729
730730
<!-- TODO
731731
- how check what was imported ?

0 commit comments

Comments
 (0)