File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,11 @@ def is_platform_32bit() -> bool:
98
98
99
99
def _import_lzma ():
100
100
"""
101
- Attempts to import the lzma module.
101
+ Importing the ` lzma` module.
102
102
103
103
Warns
104
104
-----
105
- When the lzma module is not available.
105
+ When the ` lzma` module is not available.
106
106
"""
107
107
try :
108
108
import lzma
@@ -119,22 +119,22 @@ def _import_lzma():
119
119
120
120
def _get_lzma_file (lzma ):
121
121
"""
122
- Attempting to get the lzma.LZMAFile class .
122
+ Importing the `LZMAFile` class from the ` lzma` module .
123
123
124
124
Returns
125
125
-------
126
126
class
127
- The lzma. LZMAFile class.
127
+ The ` LZMAFile` class from the `lzma` module .
128
128
129
129
Raises
130
130
------
131
131
RuntimeError
132
- If the module lzma was not imported correctly, or didn't exist.
132
+ If the ` lzma` module was not imported correctly, or didn't exist.
133
133
"""
134
134
if lzma is None :
135
135
raise RuntimeError (
136
136
"lzma module not available. "
137
- "A Python re-install with the proper "
138
- "dependencies might be required to solve this issue."
137
+ "A Python re-install with the proper dependencies, "
138
+ "might be required to solve this issue."
139
139
)
140
140
return lzma .LZMAFile
You can’t perform that action at this time.
0 commit comments