pytz: rework stubs#6551
Conversation
This reverts commit dd6cbef. Doesn't work in 2.7
|
@JelleZijlstra I'm running into an issue specifying basically the return type coming from Is there a better way to say whatever a method returns? The reason I'm running into the issue is I have something like: tz = pytz.UTC
try:
tz = pytz.timezone(timezone_name)
except pytz.UnknownTimeZoneError:
passand previously I declared the variable |
|
@JelleZijlstra I think it would make sense to add |
|
I'm OK with that. |
It's important for pyanalyze that classes are actually in the file they're claimed to be in.