robotcode-robot 0.68.2__py3-none-any.whl → 0.68.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1941,8 +1941,9 @@ def get_library_doc(
1941
1941
  def _yield_type_info(info: TypeInfo) -> Iterable[TypeInfo]:
1942
1942
  if not info.is_union:
1943
1943
  yield info
1944
- for nested in info.nested:
1945
- yield from _yield_type_info(nested)
1944
+ if info.nested:
1945
+ for nested in info.nested:
1946
+ yield from _yield_type_info(nested)
1946
1947
 
1947
1948
  def _get_type_docs(keywords: List[Any], custom_converters: List[Any]) -> Set[RobotTypeDoc]:
1948
1949
  type_docs: Dict[RobotTypeDoc, Set[str]] = {}