diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2020-04-27 09:03:58 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2020-04-27 09:03:58 +0200 |
commit | de15854831d35dd332d2aded821191a4630b18ce (patch) | |
tree | d7147d987e3f70cc75be439b8684ab2705a01146 | |
parent | 42e4b356de3d951b692082381e4a6c2a8aa36a3e (diff) | |
download | astroid-git-de15854831d35dd332d2aded821191a4630b18ce.tar.gz |
Transform read_module() into a lambda to prevent it being marked as a bound method
-rw-r--r-- | astroid/brain/brain_six.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/brain/brain_six.py b/astroid/brain/brain_six.py index d531023d..0f81e1b4 100644 --- a/astroid/brain/brain_six.py +++ b/astroid/brain/brain_six.py @@ -51,7 +51,7 @@ from sys import intern map = map range = range from importlib import reload -reload_module = reload +reload_module = lambda module: reload(module) from functools import reduce from shlex import quote as shlex_quote from io import StringIO |