Commits

Anonymous committed 53d1552

library.txt: updated after removing templates

  • Participants
  • Parent commits 9a89b9b

Comments (0)

Files changed (1)

File docs/library.txt

 
   # Applying a proposal
   proposal = proposals[x]
-  if isinstance(proposal, codeassist.CompletionProposal):
-      replacement = proposal.name
-  else:
-      # isinstance(proposal, codeassist.TemplateProposal) == True
-      # mapping is a proposal.template.variables() -> str dict
-      replacement = proposal.template.substitute(mapping)
+  replacement = proposal.name
 
   new_source_code = (source_code[:starting_offset] +
                      replacement + source_code[offset:])