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 @@ -172,7 +172,7 @@ def check(self):
172
172
pass
173
173
174
174
@functools .cached_property
175
- def details (self ):
175
+ def _details (self ):
176
176
import runpy
177
177
return runpy ._get_module_details (self )
178
178
@@ -182,22 +182,22 @@ def filename(self):
182
182
183
183
@property
184
184
def code (self ):
185
- name , spec , code = self .details
185
+ name , spec , code = self ._details
186
186
return code
187
187
188
188
@property
189
- def spec (self ):
190
- name , spec , code = self .details
189
+ def _spec (self ):
190
+ name , spec , code = self ._details
191
191
return spec
192
192
193
193
@property
194
194
def namespace (self ):
195
195
return dict (
196
196
__name__ = '__main__' ,
197
197
__file__ = os .path .normcase (os .path .abspath (self .filename )),
198
- __package__ = self .spec .parent ,
199
- __loader__ = self .spec .loader ,
200
- __spec__ = self .spec ,
198
+ __package__ = self ._spec .parent ,
199
+ __loader__ = self ._spec .loader ,
200
+ __spec__ = self ._spec ,
201
201
__builtins__ = __builtins__ ,
202
202
)
203
203
You can’t perform that action at this time.
0 commit comments