Merge pull request #2503 from CloudKeeper/patch-4

Wiki amendment: Appended caller to search method call
This commit is contained in:
Griatch 2021-08-21 14:06:57 +02:00 committed by GitHub
commit 1794de8966
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ here's how you'd find something only in your inventory:
You can also turn off the automatic error handling:
swords = self.search("Sword", quiet=True)
swords = self.caller.search("Sword", quiet=True)
With `quiet=True` the user will not be notified on zero or multi-match errors. Instead you are expected to handle this
yourself and what you get back is now a list of zero, one or more matches!