code: def fromutc(self, dt):
          
          if dt.tzinfo is None:
              return dt.replace(tzinfo=self)
          return super(_UTC, self).fromutc(dt)
docs: Convert a timestamp from (naive) UTC to this timezone.