class_docstr: ``ScopeMessenger`` is the implementation of :func:`pyro.contrib.autoname.scope`
class_docstr_tok: ["``","ScopeMessenger","``","is","the","implementation","of",":","func",":","`","pyro.contrib.autoname.scope","`"]
code: def _pyro_scope(self, msg):
      msg["args"] = ("{}/{}".format(self.prefix, msg["args"][0]),)
  
imports: import functools
  from pyro.poutine.messenger import Messenger
  from pyro.poutine.runtime import effectful
label_desc: Use image node_id 5 for calling the ScopeMessenger obj's underlying member method code with example usage: obj._pyro_scope(msg) without return types