Lines Matching full:entities
5 http://dev.w3.org/html5/spec/entities.json
15 from html.entities import html5
17 entities_url = 'http://dev.w3.org/html5/spec/entities.json'
25 def create_dict(entities): argument
28 for name, value in entities.items():
53 def write_items(entities, file=sys.stdout): argument
63 keys = sorted(entities.keys())
67 print(' {!r}: {!a},'.format(name, entities[name]), file=file)
72 # without args print a diff between html.entities.html5 and new_html5
74 # with --patch patch the Lib/html/entities.py file
82 fname = 'Lib/html/entities.py'
104 print('Run "./python {0} --patch" to update Lib/html/entities.html '