Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find reference 'reference' in '__init__.pyi' #65

Open
jackexu opened this issue Dec 13, 2021 · 0 comments
Open

Cannot find reference 'reference' in '__init__.pyi' #65

jackexu opened this issue Dec 13, 2021 · 0 comments

Comments

@jackexu
Copy link

jackexu commented Dec 13, 2021

Description

The code is still running for now but I got a error message from PyCharm
Cannot find reference 'reference' in '__init__.pyi'

Code

from pytz import reference
from datetime import datetime

now = datetime.now()
local_time = reference.LocalTimezone()
timezone = local_time.tzname(now)
print(timezone)

Version

pytz==2021.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant