mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
whitespace n11n
This commit is contained in:
parent
d5a375496e
commit
46fa48ab04
2 changed files with 10 additions and 10 deletions
|
@ -72,14 +72,14 @@ def message_from_file(fp, *args, **kws):
|
|||
import sys
|
||||
|
||||
class LazyImporter(object):
|
||||
def __init__(self, module_name):
|
||||
self.__name__ = 'email.' + module_name
|
||||
def __init__(self, module_name):
|
||||
self.__name__ = 'email.' + module_name
|
||||
|
||||
def __getattr__(self, name):
|
||||
__import__(self.__name__)
|
||||
mod = sys.modules[self.__name__]
|
||||
self.__dict__.update(mod.__dict__)
|
||||
return getattr(mod, name)
|
||||
def __getattr__(self, name):
|
||||
__import__(self.__name__)
|
||||
mod = sys.modules[self.__name__]
|
||||
self.__dict__.update(mod.__dict__)
|
||||
return getattr(mod, name)
|
||||
|
||||
|
||||
_LOWERNAMES = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue