~leonardr/beautifulsoup/reparenting

Viewing all changes in revision 321.

  • Committer: Leonard Richardson
  • Date: 2013-06-03 15:38:23 UTC
  • Revision ID: leonard.richardson@canonical.com-20130603153823-v8k90idivt8045b9
A NavigableString object now has an immutable '.name' property whose
+  value is always None. This makes it easier to iterate over a mixed
+  list of tags and strings without having to check whether each
+  element is a tag or a string.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: