Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Sep 26, 2023
1 parent 5521105 commit aaddaf8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/fake_bpy_module/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/fake_bpy_module/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit aaddaf8

Please sign in to comment.