class_docstr: A class to organize all history-related functionality in one place.
      
class_docstr_tok: ["A","class","to","organize","all","history-related","functionality","in","one","place","."]
docstr: Get info about a session.
  
  Parameters
  ----------
  session : int
      Session number to retrieve. The current session is 0, and negative
      numbers count back from current session, so -1 is the previous session.
  
  Returns
  -------
  session_id : int
      Session ID number
  start : datetime
      Timestamp for the start of the session.
  end : datetime
      Timestamp for the end of the session, or None if IPython crashed.
  num_cmds : int
      Number of commands run, or None if IPython crashed.
  remark : unicode
      A manually set description.
docstr_tok: ["Get","info","about","a","session",".","Parameters","--","--","--","--","--","session",":","int","Session","number","to","retrieve",".","The","current","session","is","0",",","and","negative","numbers","count","back","from","current","session",",","so","-1","is","the","previous","session",".","Returns","--","--","--","-","session_id",":","int","Session","ID","number","start",":","datetime","Timestamp","for","the","start","of","the","session",".","end",":","datetime","Timestamp","for","the","end","of","the","session",",","or","None","if","IPython","crashed",".","num_cmds",":","int","Number","of","commands","run",",","or","None","if","IPython","crashed",".","remark",":","unicode","A","manually","set","description","."]
code: def get_session_info(self, session=0):
      """Get info about a session.
  
      Parameters
      ----------
      session : int
          Session number to retrieve. The current session is 0, and negative
          numbers count back from current session, so -1 is the previous session.
  
      Returns
      -------
      session_id : int
          Session ID number
      start : datetime
          Timestamp for the start of the session.
      end : datetime
          Timestamp for the end of the session, or None if IPython crashed.
      num_cmds : int
          Number of commands run, or None if IPython crashed.
      remark : unicode
          A manually set description.
      """
      if session <= 0:
          session += self.session_number
  
      return super(HistoryManager, self).get_session_info(
          session=session
      )
  
imports: import atexit
  import datetime
  from pathlib import Path
  import re
  import sqlite3
  import threading
  from traitlets.config.configurable import LoggingConfigurable
  from decorator import decorator
  from IPython.utils.decorators import undoc
  from IPython.paths import locate_profile
  from traitlets import Any, Bool, Dict, Instance, Integer, List, Unicode, Union, TraitError, default, observe
label_desc: Use image node_id 8 for calling the HistoryManager obj's underlying member method code with example usage: obj.get_session_info(session) and returns: super