Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Oct 2, 2023
1 parent b181267 commit eb207f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions papyri/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ def prepare_doc_for_one_object(
current configuratin
aliases : sequence
other aliases for cuttent object.
api_object : <Insert Type here>
api_object : APIObjectInfo
<Multiline Description Here>
Returns
Expand Down Expand Up @@ -1815,7 +1815,7 @@ def collect_examples_out(self):

def helper_1(
self, *, qa: str, target_item: Any
) -> Tuple[Optional[str], List[Section], Optional[APIObjectInfo]]:
) -> Tuple[Optional[str], List[Section], APIObjectInfo]:
"""
Parameters
----------
Expand Down Expand Up @@ -1967,7 +1967,7 @@ def collect_api_docs(self, root: str, limit_to: List[str]):
# taskp = p2.add_task(description="parsing", total=len(collected))

failure_collection: Dict[str, List[str]] = defaultdict(lambda: [])

api_object: APIObjectInfo
for qa, target_item in collected.items():
self.log.debug("treating %r", qa)

Expand Down

0 comments on commit eb207f8

Please sign in to comment.