| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d4a8066 commit f906522
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,12 +20,6 @@ | |||
| 20 | 20 | # reference any injected objects! This includes not only global code but also | |
| 21 | 21 | # anything specified at the class level. | |
| 22 | 22 | ||
| 23 | - def _object_name(obj): | ||
| 24 | - try: | ||
| 25 | - return obj.__qualname__ | ||
| 26 | - except AttributeError: | ||
| 27 | - return type(obj).__qualname__ | ||
| 28 | - | ||
| 29 | 23 | # Bootstrap-related code ###################################################### | |
| 30 | 24 | ||
| 31 | 25 | # Modules injected manually by _setup() | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,4 @@ | |||
| 1 | + Remove the private, undocumented function | ||
| 2 | + ``importlib._bootstrap._object_name()``. It had no caller after | ||
| 3 | + ``load_module()`` and its deprecation warnings were removed from | ||
| 4 | + :mod:`importlib`. | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments