Posted by manuelg on Fri 16 May 17:30
report abuse | download | new post
- _default_skip_tags_sentinel = object()
- _default_skip_tags = ['pre']
- def elem_strip_all_text(
- parent_e,
- chars=" \r\n\t",
- skip_tags=_default_skip_tags_sentinel,
- grandparent_tag_hint=None,
- ):
- ...
- if skip_tags is _default_skip_tags_sentinel:
- skip_tags = _default_skip_tags
- if skip_tags is None:
- skip_tags = []
- ...
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.