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

Sign up to get free protection for your applications and to get access to all the features.
@@ -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]] = {}