class_docstr: Wrapper for MagickCore resource limits.
  Useful for dynamically reducing system resources before attempting risky,
  or slow running, :class:`~wand.image.Image` operations.
  
  For example::
  
     from wand.image import Image
     from wand.resource import limits
  
     # Use 100MB of ram before writing temp data to disk.
     limits['memory'] = 1024 * 1024 * 100
     # Reject images larger than 1000x1000.
     limits['width'] = 1000
     limits['height'] = 1000
  
     # Debug resources used.
     with Image(filename='user.jpg') as img:
         print('Using {0} of {1} memory'.format(limits.resource('memory'),
                                                limits['memory']))
  
     # Dump list of all limits.
     for label in limits:
         print('{0} => {1}'.format(label, limits[label]))
  
  Available resource keys:
  
  - ``'area'`` - Maximum `width * height` of a pixel cache before writing to
    disk.
  - ``'disk'`` - Maximum bytes used by pixel cache on disk before exception
    is thrown.
  - ``'file'`` - Maximum cache files opened at any given time.
  - ``'height'`` - Maximum height of image before exception is thrown.
  - ``'list_length'`` - Maximum images in sequence. Only available with
    recent version of ImageMagick.
  - ``'map'`` - Maximum memory map in bytes to allocated for pixel cache
    before using disk.
  - ``'memory'`` - Maximum bytes to allocated for pixel cache before using
    disk.
  - ``'thread'`` - Maximum parallel task sub-routines can spawn - if using
    OpenMP.
  - ``'throttle'`` - Total milliseconds to yield to CPU - if possible.
  - ``'time'`` - Maximum seconds before exception is thrown.
  - ``'width'`` - Maximum width of image before exception is thrown.
  
  .. versionadded:: 0.5.1
code: def __delitem__(self, r):
      self[r] = 0
  
imports: import atexit
  import contextlib
  import ctypes
  import warnings
  from .api import library
  from .compat import abc, string_type
  from .exceptions import TYPE_MAP, WandException
  from .version import MAGICK_VERSION_NUMBER
label_desc: Use image node_id 4 for calling the ResourceLimits obj's underlying member method code with example usage: obj.__delitem__(r) without return types