class_docstr: Interface class whose subclasses should implement a handle method that
  Twitter clients can delegate to.
class_docstr_tok: ["Interface","class","whose","subclasses","should","implement","a","handle","method","that","Twitter","clients","can","delegate","to","."]
docstr: :param int limit: The number of data items to process in the current        round of processing.
  
  :param tuple upper_date_limit: The date at which to stop collecting        new data. This should be entered as a tuple which can serve as the        argument to `datetime.datetime`.        E.g. `date_limit=(2015, 4, 1, 12, 40)` for 12:30 pm on April 1 2015.
  
  :param tuple lower_date_limit: The date at which to stop collecting        new data. See `upper_data_limit` for formatting.
docstr_tok: [":","param","int","limit",":","The","number","of","data","items","to","process","in","the","current","round","of","processing",".",":","param","tuple","upper_date_limit",":","The","date","at","which","to","stop","collecting","new","data",".","This","should","be","entered","as","a","tuple","which","can","serve","as","the","argument","to","`","datetime.datetime","`",".","E.g",".","`","date_limit=","(","2015",",","4",",","1",",","12",",","40",")","`","for","12:30","pm","on","April","1","2015.",":","param","tuple","lower_date_limit",":","The","date","at","which","to","stop","collecting","new","data",".","See","`","upper_data_limit","`","for","formatting","."]
code: def __init__(
      self, limit=20, upper_date_limit=None, lower_date_limit=None
  ):
      """
          :param int limit: The number of data items to process in the current\
          round of processing.
  
          :param tuple upper_date_limit: The date at which to stop collecting\
          new data. This should be entered as a tuple which can serve as the\
          argument to `datetime.datetime`.\
          E.g. `date_limit=(2015, 4, 1, 12, 40)` for 12:30 pm on April 1 2015.
  
          :param tuple lower_date_limit: The date at which to stop collecting\
          new data. See `upper_data_limit` for formatting.
          """
      BasicTweetHandler.__init__(self, limit)
  
      self.upper_date_limit = None
      self.lower_date_limit = None
      if upper_date_limit:
          self.upper_date_limit = datetime(
              *upper_date_limit, tzinfo=LOCAL
          )
      if lower_date_limit:
          self.lower_date_limit = datetime(
              *lower_date_limit, tzinfo=LOCAL
          )
  
      self.startingup = True
  
file_path: nltk/nltk/twitter/api.py
imports: import time
  from abc import ABCMeta, abstractmethod
  from datetime import datetime, timedelta, timezone, tzinfo
label_desc: Use image node_id 1 to create a new TweetHandlerI object from inherited base classes: BasicTweetHandler with example: obj = TweetHandlerI(limit, upper_date_limit, lower_date_limit)