parameters: (self, needle: str, replace: str = "<REDACTED>")
docstring: Redact specific strings; e.g., authorization tokens.  This won't
          retroactively redact stuff you've already leaked, so make sure
          you redact things as soon as possible.
docstring_summary: Redact specific strings; e.g., authorization tokens.  This won't
          retroactively redact stuff you've already leaked, so make sure
          you redact things as soon as possible.
docstring_tokens: Redact specific strings ; e . g . authorization tokens . This won t retroactively redact stuff you ve already leaked so make sure you redact things as soon as possible .
function: def redact(self, needle: str, replace: str = "<REDACTED>") -> None:
          """Redact specific strings; e.g., authorization tokens.  This won't
          retroactively redact stuff you've already leaked, so make sure
          you redact things as soon as possible.
          """
          # Don't redact empty strings; this will lead to something
          # that looks like s<REDACTED>t<REDACTED>r<REDACTED>...
          if needle == "":
              return
          self.redactions[needle] = replace
function_tokens: def redact ( self , needle : str , replace : str = "<REDACTED>" ) -> None : # Don't redact empty strings; this will lead to something # that looks like s<REDACTED>t<REDACTED>r<REDACTED>... if needle == "" : return self . redactions [ needle ] = replace