@@ -134,7 +134,7 @@ compartmentalized**.
134134Using ``from modu import func `` is a way to pinpoint the function you want to
135135import and put it in the global namespace. While much less harmful than ``import
136136* `` because it shows explicitly what is imported in the global namespace, its
137- advantage over a simpler `import modu ` is only that it will save some typing.
137+ advantage over a simpler `` import modu ` ` is only that it will save some typing.
138138
139139**Very bad **
140140
@@ -181,8 +181,8 @@ different modules in the package are imported in a similar manner as plain
181181modules, but with a special behavior for the :file: `__init__.py ` file, which is used to
182182gather all package-wide definitions.
183183
184- A file :file: `modu.py ` in the directory :file: `pack/ ` is imported with the statement `import
185- pack.modu `. This statement will look for an :file: `__init__.py ` file in :file: `pack `, execute
184+ A file :file: `modu.py ` in the directory :file: `pack/ ` is imported with the statement `` import
185+ pack.modu `` . This statement will look for an :file: `__init__.py ` file in :file: `pack `, execute
186186all of its top-level statements. Then it will look for a file :file: `pack/modu.py ` and
187187execute all of its top-level statements. After these operations, any variable,
188188function, or class defined in :file: `modu.py ` is available in the pack.modu namespace.
@@ -197,8 +197,8 @@ Leaving an :file:`__init__.py` file empty is considered normal and even a good p
197197if the package's modules and sub-packages do not need to share any code.
198198
199199Lastly, a convenient syntax is available for importing deeply nested packages:
200- `import very.deep.module as mod `. This allows you to use `mod ` in place of the verbose
201- repetition of `very.deep.module `.
200+ `` import very.deep.module as mod ` `. This allows you to use `mod ` in place of the verbose
201+ repetition of `` very.deep.module ` `.
202202
203203Object-oriented programming
204204---------------------------
0 commit comments