MythTV  master
Variables
musicbrainzngs.compat Namespace Reference

Variables

 _ver = sys.version_info
 
tuple is_py2 = (_ver[0] == 2)
 
tuple is_py3 = (_ver[0] == 3)
 
 bytes = str
 
 unicode = unicode
 
 basestring = basestring
 

Variable Documentation

◆ _ver

musicbrainzngs.compat._ver = sys.version_info
private

Definition at line 28 of file compat.py.

◆ is_py2

tuple musicbrainzngs.compat.is_py2 = (_ver[0] == 2)

Definition at line 31 of file compat.py.

◆ is_py3

tuple musicbrainzngs.compat.is_py3 = (_ver[0] == 3)

Definition at line 34 of file compat.py.

◆ bytes

musicbrainzngs.compat.bytes = str

◆ unicode

musicbrainzngs.compat.unicode = unicode

Definition at line 50 of file compat.py.

Referenced by nv_python_libs.common.common_api.Common.callCommandLine(), nv_python_libs.common.common_api.Common.createItemElement(), nv_python_libs.thewb.thewb_api.Videos.createItems(), common.utilities.deAccent(), nv_python_libs.hulu.hulu_api.Videos.displayTreeView(), ttplayer.ttpClient.EncodeArtTit(), gomaudio.LyricsFetcher.get_lyrics(), mythburn.getFileInformation(), hardwareprofile.smolt._HardwareProfile.getProfile(), nv_python_libs.xsltfunctions.linuxAction_api.xpathFunctions.linuxActionLinkGeneration(), giantbomb.main(), nv_python_libs.mainProcess.mainProcess.main(), nv_python_libs.mtv.mtv_api.Videos.massageDescription(), nv_python_libs.youtube.youtube_api.Videos.massageDescription(), nv_python_libs.bliptv.bliptv_api.Videos.massageDescription(), nv_python_libs.dailymotion.dailymotion_api.Videos.massageDescription(), nv_python_libs.vimeo.vimeo_api.Videos.massageDescription(), giantbomb.giantbomb_api.gamedbQueries.massageText(), nv_python_libs.common.common_api.Common.massageText(), nv_python_libs.mnvsearch.mnvsearch_api.Videos.searchTitle(), nv_python_libs.hulu.hulu_api.Videos.searchTitle(), nv_python_libs.tedtalks.tedtalks_api.Videos.searchTitle(), nv_python_libs.thewb.thewb_api.Videos.searchTitle(), nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.spitzerLinkGeneration(), nv_python_libs.xsltfunctions.tedtalksXSL_api.xpathFunctions.tedtalksMakeItem(), giantbomb.giantbomb_api.gamedbQueries.textUtf8(), nv_python_libs.common.common_api.Common.textUtf8(), nv_python_libs.mtv.mtv_api.Videos.textUtf8(), nv_python_libs.bliptv.bliptv_api.Videos.textUtf8(), nv_python_libs.dailymotion.dailymotion_api.Videos.textUtf8(), nv_python_libs.vimeo.vimeo_api.Videos.textUtf8(), hardwareprofile.smolt.to_ascii(), CC608Decoder.XDSDecode(), and CC608Decoder.XDSDecodeString().

◆ basestring

tuple musicbrainzngs.compat.basestring = basestring

Definition at line 51 of file compat.py.