oliverandrich,
@oliverandrich@fosstodon.org avatar

If includes a wrong typing for a function, where do I have to open the ticket? Pylance or the project?

The definition from calendar.pyi is basically wrong as the function returns actually list[list[list[date]]].

def yeardatescalendar(self, year: int, width: int = 3) -> list[list[int]]: ...  

orsinium,
@orsinium@fosstodon.org avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • DreamBathrooms
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • InstantRegret
  • tacticalgear
  • anitta
  • ethstaker
  • provamag3
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • modclub
  • megavids
  • normalnudes
  • Leos
  • JUstTest
  • lostlight
  • All magazines