This\u0020error\u0020occurs\u0020because\u0020you\u0020are\u0020trying\u0020to\u0020call\u0020the\u0020get\u0020method\u0020on\u0020a\u0020string\u0020object,\u0020which\u0020does\u0020not\u0020have\u0020a\u0020get\u0020method.\u0020\n\nIn\u0020the\u0020code\u0020snippet\u0020you\u0020provided,\u0020it\u0020seems\u0020that\u0020match\u0020is\u0020a\u0020string\u0020object\u0020and\u0020not\u0020a\u0020dictionary.\u0020Therefore,\u0020you\u0020cannot\u0020use\u0020the\u0020get\u0020method\u0020on\u0020it.\n\nTo\u0020fix\u0020this\u0020error,\u0020you\u0020need\u0020to\u0020make\u0020sure\u0020that\u0020match\u0020is\u0020a\u0020dictionary\u0020object\u0020before\u0020calling\u0020the\u0020get\u0020method\u0020on\u0020it.


原文地址: https://www.cveoy.top/t/topic/pLz8 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录