Xqt submitted this change.

View Change

Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
tests: update doctest for LexemePage

Bug: T383130
Change-Id: Ifcb4d5f0c897424edbb3a94a861fbe8d2cb9f6e5
---
M pywikibot/page/_wikibase.py
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pywikibot/page/_wikibase.py b/pywikibot/page/_wikibase.py
index 486cf3d..cc2878f 100644
--- a/pywikibot/page/_wikibase.py
+++ b/pywikibot/page/_wikibase.py
@@ -2139,7 +2139,7 @@
>>> repo = pywikibot.Site('wikidata')
>>> L2 = pywikibot.LexemePage(repo, 'L2') # create a Lexeme page
>>> list(L2.claims) # access the claims
- ['P5402', 'P5831', 'P12690']
+ ['P5402', 'P5831', 'P12690', 'P12448', 'P31', 'P5275', 'P12510', ...]
>>> len(L2.forms) # access the forms
3
>>> F1 = L2.forms[0] # access the first form

To view, visit change 1108749. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ifcb4d5f0c897424edbb3a94a861fbe8d2cb9f6e5
Gerrit-Change-Number: 1108749
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot