class_docstr: This dictionary takes the form of the largest dictionary supplied via push().
class_docstr_tok: ["This","dictionary","takes","the","form","of","the","largest","dictionary","supplied","via","push","(",")","."]
docstr: Makes self a shallow copy of d.
docstr_tok: ["Makes","self","a","shallow","copy","of","d","."]
code: def copy_from(self, d: dictionary.Dictionary):
      """Makes self a shallow copy of d."""
      self.unk_word = d.unk_word
      self.pad_word = d.pad_word
      self.eos_word = d.eos_word
      self.symbols = d.symbols
      self.count = d.count
      self.indices = d.indices
      self.pad_index = d.pad_index
      self.eos_index = d.eos_index
      self.unk_index = d.unk_index
      self.nspecial = d.nspecial
      self.lexicon_indices = d.lexicon_indices
  
imports: import os
  import re
  from typing import Dict, List, Optional, Set
  from fairseq.data import dictionary
  from fairseq.file_io import PathManager
  from pytorch_translate import vocab_constants
label_desc: Use image node_id 2 for calling the MaxVocabDictionary obj's underlying member method code with example usage: obj.copy_from(d) without return types