docstr: Parse a valid ISO time zone string.
  
  See :func:`isoparser.isoparse` for details on supported formats.
  
  :param tzstr:
      A string representing an ISO time zone offset
  
  :param zero_as_utc:
      Whether to return :class:`dateutil.tz.tzutc` for zero-offset zones
  
  :return:
      Returns :class:`dateutil.tz.tzoffset` for offsets and
      :class:`dateutil.tz.tzutc` for ``Z`` and (if ``zero_as_utc`` is
      specified) offsets equivalent to UTC.
docstr_tok: ["Parse","a","valid","ISO","time","zone","string",".","See",":","func",":","`","isoparser.isoparse","`","for","details","on","supported","formats",".",":","param","tzstr",":","A","string","representing","an","ISO","time","zone","offset",":","param","zero_as_utc",":","Whether","to","return",":","class",":","`","dateutil.tz.tzutc","`","for","zero-offset","zones",":","return",":","Returns",":","class",":","`","dateutil.tz.tzoffset","`","for","offsets","and",":","class",":","`","dateutil.tz.tzutc","`","for","``","Z","``","and","(","if","``","zero_as_utc","``","is","specified",")","offsets","equivalent","to","UTC","."]
code: def parse_tzstr(self, tzstr, zero_as_utc=True):
      """
      Parse a valid ISO time zone string.
  
      See :func:`isoparser.isoparse` for details on supported formats.
  
      :param tzstr:
          A string representing an ISO time zone offset
  
      :param zero_as_utc:
          Whether to return :class:`dateutil.tz.tzutc` for zero-offset zones
  
      :return:
          Returns :class:`dateutil.tz.tzoffset` for offsets and
          :class:`dateutil.tz.tzutc` for ``Z`` and (if ``zero_as_utc`` is
          specified) offsets equivalent to UTC.
      """
      return self._parse_tzstr(tzstr, zero_as_utc=zero_as_utc)
  
file_path: catboost/contrib/python/python-dateutil/py2/dateutil/parser/isoparser.py
imports: from datetime import datetime, timedelta, time, date
  import calendar
  from dateutil import tz
  from functools import wraps
  import re
  import six
label_desc: Use image node_id 5 for calling the isoparser obj's underlying member method code with example usage: obj.parse_tzstr(tzstr, zero_as_utc) and returns: self