Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
bs4._warnings.MarkupResemblesLocatorWarning Class Reference
Inheritance diagram for bs4._warnings.MarkupResemblesLocatorWarning:
Inheritance graph
[legend]
Collaboration diagram for bs4._warnings.MarkupResemblesLocatorWarning:
Collaboration graph
[legend]

Static Public Attributes

str GENERIC_MESSAGE
 
tuple URL_MESSAGE
 
tuple FILENAME_MESSAGE
 

Detailed Description

The warning issued when BeautifulSoup is given 'markup' that
actually looks like a resource locator -- a URL or a path to a file
on disk.

Member Data Documentation

◆ FILENAME_MESSAGE

tuple bs4._warnings.MarkupResemblesLocatorWarning.FILENAME_MESSAGE
static
Initial value:
= (
+ GENERIC_MESSAGE
)

◆ GENERIC_MESSAGE

str bs4._warnings.MarkupResemblesLocatorWarning.GENERIC_MESSAGE
static
Initial value:
= """
However, if you want to parse some data that happens to look like a %(what)s, then nothing has gone wrong: you are using Beautiful Soup correctly, and this warning is spurious and can be filtered. To make this warning go away, run this code before calling the BeautifulSoup constructor:
from bs4 import MarkupResemblesLocatorWarning
import warnings
warnings.filterwarnings("ignore", category=MarkupResemblesLocatorWarning)
"""

◆ URL_MESSAGE

tuple bs4._warnings.MarkupResemblesLocatorWarning.URL_MESSAGE
static
Initial value:
= (
+ GENERIC_MESSAGE
)

The documentation for this class was generated from the following file: