AntiCompositeNumber added a comment.

  That's a benefit of using stub files instead of inline annotations: the 
runtime python version is irrelevant. The correct syntax for a valid stub file 
is python 3.6+ inline annotations, and they'll work for python2 and python3 
code. There are some considerations necessary for type differences between 
python2 and python3 (such as using `typing.Text` instead of `str` to include 
`unicode` in python2)

TASK DETAIL
  https://phabricator.wikimedia.org/T250711

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AntiCompositeNumber
Cc: Xqt, Aklapper, AntiCompositeNumber, pywikibot-bugs-list, Zkhalido, Viztor, 
Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, 
mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to