Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for handle_data (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. scripts/docs.py

    
    class VisibleTextExtractor(HTMLParser):
        """Extract visible text from a string with HTML tags."""
    
        def __init__(self):
            super().__init__()
            self.text_parts = []
    
        def handle_data(self, data):
            self.text_parts.append(data)
    
        def extract_visible_text(self, html: str) -> str:
            self.reset()
            self.text_parts = []
            self.feed(html)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 21 17:40:17 GMT 2025
    - 16.9K bytes
    - Click Count (0)
Back to Top