Skip to content

Commit

Permalink
PPF-760: fix function call desc
Browse files Browse the repository at this point in the history
  • Loading branch information
chinapandaman committed Dec 6, 2024
1 parent b8c9a1f commit 95e2655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/prepare.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ with open("output.pdf", "wb+") as output:
```

Finally, if there are multiple widgets that need to be bulk updated, the performance optimal way of doing it is to set
the optional parameter `defer` to `True` when updating each key and at the very end call `commit_widget_key_updates` to
commit all the updates.
the optional parameter `defer` to `True` when updating each key and at the very end call `commit_widget_key_updates()`
to commit all the updates.

Consider [this PDF](https://github.com/chinapandaman/PyPDFForm/raw/master/pdf_samples/scenario/issues/733.pdf),
the below snippet will change the key of each row's text field with the key `Description[0]` to `Description[i]`
Expand Down

0 comments on commit 95e2655

Please sign in to comment.