class_docstr: Context manager that does no additional processing.
  
  Used as a stand-in for a normal context manager, when a particular
  block of code is only sometimes used with a normal context manager:
  
  cm = optional_cm if condition else nullcontext()
  with cm:
      # Perform operation, using optional_cm if condition is True
class_docstr_tok: ["Context","manager","that","does","no","additional","processing",".","Used","as","a","stand-in","for","a","normal","context","manager",",","when","a","particular","block","of","code","is","only","sometimes","used","with","a","normal","context","manager",":","cm","=","optional_cm","if","condition","else","nullcontext","(",")","with","cm",":","#","Perform","operation",",","using","optional_cm","if","condition","is","True"]
code: def __init__(self, enter_result=None):
      self.enter_result = enter_result
  
file_path: catboost/contrib/python/numpy/py2/numpy/compat/py3k.py
imports: from __future__ import division, absolute_import, print_function
  import sys
  import abc
label_desc: Use image node_id 1 to create a new contextlib_nullcontext object from inherited base classes: object with example: obj = contextlib_nullcontext(enter_result)