Pārlūkot izejas kodu

Remove test.py - unintentionally added

tags/v0.1
Riamse pirms 11 gadiem
vecāks
revīzija
c4fd7b7468
1 mainītis faili ar 0 papildinājumiem un 14 dzēšanām
  1. +0
    -14
      test.py

+ 0
- 14
test.py Parādīt failu

@@ -1,14 +0,0 @@
import mwparserfromhell
text = "foo {{spam|eggs}} bar"
code = mwparserfromhell.parse(text)
template = code.filter_templates()[0]
template.name
template.params
template.params[0].value
template.params[0].name
template.params[0].showkey
template.params[0].showkey = True
template.params[0].name = "apples"
code
template.add("pears", "{{plums}}")
code.filter_templates(recursive=True)

Notiek ielāde…
Atcelt
Saglabāt