jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/846744 )
Change subject: [doctests] L2.claims.keys() sequence has changed
......................................................................
[doctests] L2.claims.keys() sequence has changed
Change-Id: I5ea996315b52c6606e26f3fe4653eefdedb1c9da
---
M pywikibot/page/_wikibase.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/page/_wikibase.py b/pywikibot/page/_wikibase.py
index 12752fd..9e857fc 100644
--- a/pywikibot/page/_wikibase.py
+++ b/pywikibot/page/_wikibase.py
@@ -1936,7 +1936,7 @@
>>> repo = pywikibot.Site('wikidata')
>>> L2 = pywikibot.LexemePage(repo, 'L2') # create a Lexeme page
>>> list(L2.claims.keys()) # access the claims
- ['P5831', 'P5402']
+ ['P5402', 'P5831']
>>> len(L2.forms) # access the forms
2
>>> F1 = L2.forms[0] # access the first form
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/846744
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I5ea996315b52c6606e26f3fe4653eefdedb1c9da
Gerrit-Change-Number: 846744
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]