class_docstr: A dict-like proxy held by the Doc, to control access to span groups.
class_docstr_tok: ["A","dict-like","proxy","held","by","the","Doc",",","to","control","access","to","span","groups","."]
code: def _make_span_group(
      self, name: str, spans: Iterable["Span"]
  ) -> SpanGroup:
      doc = self._ensure_doc()
      return SpanGroup(doc, name=name, spans=spans)
  
file_path: spaCy/spacy/tokens/_dict_proxies.py
imports: import warnings
  import weakref
  from collections import UserDict
  from typing import TYPE_CHECKING, Dict, Iterable, List, Optional, Tuple, Union
  import srsly
  from ..errors import Errors, Warnings
  from .span_group import SpanGroup
label_desc: Use image node_id 3 for calling the SpanGroups obj's underlying member method code with example usage: obj._make_span_group(name, spans) and returns: SpanGroup