Skip to content

Commit d213ec2

Browse files
committed
Resolved infinite recursion for pandas.Timestamp.tzinfo
1 parent 92ae5fc commit d213ec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/tslibs/timestamps.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2997,7 +2997,7 @@ timedelta}, default 'raise'
29972997
>>> ts.tzinfo
29982998
zoneinfo.ZoneInfo(key='Europe/Stockholm')
29992999
"""
3000-
return self.tzinfo
3000+
return super().tzinfo
30013001
30023002
@tz.setter
30033003
def tz(self, value):

0 commit comments

Comments
 (0)