class_docstr: A strategy which generates single character strings of text type.
class_docstr_tok: ["A","strategy","which","generates","single","character","strings","of","text","type","."]
code: def __init__(
      self,
      whitelist_categories=None,
      blacklist_categories=None,
      blacklist_characters=None,
      min_codepoint=None,
      max_codepoint=None,
      whitelist_characters=None,
  ):
      assert set(whitelist_categories or ()).issubset(
          charmap.categories()
      )
      assert set(blacklist_categories or ()).issubset(
          charmap.categories()
      )
      intervals = charmap.query(
          include_categories=whitelist_categories,
          exclude_categories=blacklist_categories,
          min_codepoint=min_codepoint,
          max_codepoint=max_codepoint,
          include_characters=whitelist_characters,
          exclude_characters=blacklist_characters,
      )
      if not intervals:
          arguments = [
              ("whitelist_categories", whitelist_categories),
              ("blacklist_categories", blacklist_categories),
              ("whitelist_characters", whitelist_characters),
              ("blacklist_characters", blacklist_characters),
              ("min_codepoint", min_codepoint),
              ("max_codepoint", max_codepoint),
          ]
          raise InvalidArgument(
              "No characters are allowed to be generated by this "
              "combination of arguments: "
              + ", ".join(
                  "%s=%r" % arg
                  for arg in arguments
                  if arg[1] is not None
              )
          )
      self.intervals = IntervalSet(intervals)
      self.zero_point = self.intervals.index_above(ord("0"))
  
imports: from __future__ import absolute_import, division, print_function
  from hypothesis.errors import InvalidArgument
  from hypothesis.internal import charmap
  from hypothesis.internal.compat import binary_type, hunichr
  from hypothesis.internal.conjecture.utils import integer_range
  from hypothesis.internal.intervalsets import IntervalSet
  from hypothesis.strategies._internal.strategies import MappedSearchStrategy, SearchStrategy
label_desc: Use image node_id 1 to create a new OneCharStringStrategy object from inherited base classes: SearchStrategy with example: obj = OneCharStringStrategy(whitelist_categories, blacklist_categories, blacklist_characters, min_codepoint, max_codepoint, whitelist_characters)