Skip to content

Commit

Permalink
Fix doctests
Browse files Browse the repository at this point in the history
Change-Id: I6a8196765385506157bb3cc75b3fbc4db2600686
  • Loading branch information
matejsuchanek committed Oct 28, 2024
1 parent 57e9e7f commit 21f36cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pywikibot/page/_wikibase.py
Original file line number Diff line number Diff line change
Expand Up @@ -2200,12 +2200,12 @@ class LexemePage(WikibasePage):
>>> list(L2.claims) # access the claims
['P5402', 'P5831', 'P12690']
>>> len(L2.forms) # access the forms
2
3
>>> F1 = L2.forms[0] # access the first form
>>> list(F1.claims) # access its claims
['P898']
>>> len(L2.senses) # access the senses
1
2
>>> S1 = L2.senses[0] # access the first sense
>>> list(S1.claims) # and its claims
['P5137', 'P5972', 'P2888']
Expand Down

0 comments on commit 21f36cc

Please sign in to comment.