From aaddaf8cefaab602ba81a31867365aaaefa68951 Mon Sep 17 00:00:00 2001 From: nutti Date: Tue, 26 Sep 2023 16:45:11 +0900 Subject: [PATCH] WIP --- src/fake_bpy_module/analyzer.py | 2 -- src/fake_bpy_module/common.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/fake_bpy_module/analyzer.py b/src/fake_bpy_module/analyzer.py index db85d81f4..a4fc5c4b2 100644 --- a/src/fake_bpy_module/analyzer.py +++ b/src/fake_bpy_module/analyzer.py @@ -433,9 +433,7 @@ def _parse_rtype(file: IO[Any], level: 'RstLevel') -> str: # Fix: https://github.com/nutti/fake-bpy-module/issues/139 if return_ is not None: - print(f"@@@ {return_}") if self._cleanup_string(return_) == "An instance of this object.": - print(f"@@@@@") return_type = "Same type with self class" if return_ is not None and return_type is not None: diff --git a/src/fake_bpy_module/common.py b/src/fake_bpy_module/common.py index 25fb10f51..7df615ec8 100644 --- a/src/fake_bpy_module/common.py +++ b/src/fake_bpy_module/common.py @@ -1347,7 +1347,7 @@ def _get_refined_data_type_fast( if dtype_str == "Same type with self class": s = self._parse_custom_data_type( module_name, uniq_full_names, uniq_module_names, module_name) - print(f"@@@@@ {s}") + print(f"@@@@@ {module_name}") if s: return CustomDataType(s)