{"id":2945,"date":"2019-10-22T09:37:45","date_gmt":"2020-02-12T14:05:41","guid":{"rendered":"http:\/\/vip.fxxkpython.com\/?p=2945"},"modified":"2020-02-12T22:05:50","modified_gmt":"2020-02-12T14:05:50","slug":"54bad0b365","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=2945","title":{"rendered":"\u597d\u597d\u7406\u89e3 Python \u9762\u5411\u5bf9\u8c61\u4e2d\u7684\u591a\u7ee7\u627f\u548csuper"},"content":{"rendered":"<div class=\"bpp-post-content\">\n<section style=\"margin-left: 1em;margin-right: 1em;letter-spacing: 3px;line-height: 2em;\" ><br  \/><\/section>\n<p style=\"margin-left: 1em;margin-right: 1em;letter-spacing: 3px;\">\u6700\u8fd1\u6709\u4e9b\u670b\u53cb\u54a8\u8be2 VIP \u76f8\u5173\u7684\u4e8b\uff0c\u6211\u8bf4\u5c31\u662f\u5728\u4ecb\u7ecd\u6587\u91cc\u9762\u5199\u7684\u90a3\u4e9b\uff0c\u5206\u9636\u6bb5\u8fdb\u884c\u7684\uff0c\u77e5\u8bc6\u5c31\u662f\u90a3\u4e48\u4e9b\u77e5\u8bc6\uff0c\u6ca1\u4ec0\u4e48\u725b\u903c\uff0c\u53ea\u662f\u6211\u7a0d\u5fae\u80fd\u591f\u8bb2\u5f97\u66f4\u5bb9\u6613\u7406\u89e3\u4e00\u4e9b\u7f62\u4e86\u3002<\/p>\n<p style=\"margin-left: 1em;margin-right: 1em;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-left: 1em;margin-right: 1em;letter-spacing: 3px;\">\u7136\u540e\u5c31\u6709\u4eba\u95ee\u4e86\uff0c\u6709\u6ca1\u6709\u8bd5\u770b\uff1f<br  \/><\/p>\n<p style=\"margin-left: 1em;margin-right: 1em;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-left: 1em;margin-right: 1em;letter-spacing: 3px;\">\u6211\u8bf4\u4e86\u53e5\u201c\u6ca1\u6709\u201d\u4e4b\u540e\uff0c\u53cc\u65b9\u90fd\u7565\u663e\u5c34\u5c2c\uff0c\u6bd5\u7adf\u522b\u7684\u4e13\u680f\u90fd\u6709\u597d\u51e0\u7bc7\u8bd5\u770b\u6587\u7ae0\uff0c\u6211\u5012\u597d\uff0c\u7bc7\u7bc7\u90fd\u52a0\u5bc6&#8230;<br  \/><\/p>\n<p style=\"margin-left: 1em;margin-right: 1em;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-left: 1em;margin-right: 1em;letter-spacing: 3px;\">\u6240\u4ee5\u4eca\u5929\u5c31\u653e\u4e00\u7bc7 VIP \u91cc\u9762\u7684\u57fa\u7840\u5185\u5bb9\u5427\uff0c\u76ee\u524d\u57fa\u7840\u9636\u6bb5\u5373\u5c06\u5b8c\u7ed3\uff0c\u5c31\u5f53\u505a\u8bd5\u770b\u597d\u4e86\uff0c\u4ee5\u540e\u6709\u673a\u4f1a\u7684\u8bdd\u5c31\u8ba9\u6bcf\u4e2a\u9636\u6bb5\u90fd\u653e\u4e00\u7bc7\u8bd5\u770b\u51fa\u6765\u5427\uff0c\u6ee1\u8db3\u90e8\u5206\u670b\u53cb\u7684\u597d\u5947\u5fc3\u3002<br  \/><\/p>\n<p style=\"margin-left: 1em;margin-right: 1em;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-left: 1em;margin-right: 1em;letter-spacing: 3px;\">ok\uff0c\u4ee5\u4e0b\u662f VIP \u57fa\u7840\u9636\u6bb5\u7684\u8bd5\u770b\u6587\uff1a<br  \/><\/p>\n<p style=\"margin-left: 1em;margin-right: 1em;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-left: 1em;margin-right: 1em;letter-spacing: 3px;\"><br  \/><\/p>\n<p style=\"margin-left: 1em;margin-right: 1em;letter-spacing: 3px;\"><br  \/><\/p>\n<h1 class=\"entry-title\" style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Nunito Sans&quot;, sans-serif;font-size: 2.375rem;font-weight: 700;outline: 0px;vertical-align: baseline;clear: none;color: rgb(2, 2, 2);line-height: 1.3;letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">Python\u5feb\u901f\u5165\u95e8 | \u597d\u597d\u7406\u89e3 Python \u9762\u5411\u5bf9\u8c61\u4e2d\u7684\u591a\u7ee7\u627f\u548csuper<\/h1>\n<p><span style=\"font-size: 17px;\"><br  \/><\/span><\/p>\n<p><span style=\"font-size: 17px;\"><br  \/><\/span><\/p>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u54b1\u4eec\u4e0a\u4e00\u7bc7\u8bb2\u5230\u4e86\u7ee7\u627f\uff0c\u8bf4\u5230\u4e86\u5b50\u7c7b\u548c\u7236\u7c7b\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u7236\u7c7b\u4e5f\u53eb\u4f5c\u57fa\u7c7b\u3001\u8d85\u7c7b\uff0c\u4e5f\u5c31\u662f super class \uff0c\u4e0a\u6b21\u6211\u4eec\u8bf4\u8981\u5728\u5b50\u7c7b\u4f7f\u7528\u7236\u7c7b\u5b9a\u4e49\u7684\u4e1c\u897f\uff0c\u5c31\u9700\u8981\u7528\u5230 super \u65b9\u6cd5\uff0c\u6709\u4e9b\u670b\u53cb\u4e0d\u592a\u7406\u89e3\uff1a\u4e0d\u662f\u8bf4\u5b50\u7c7b\u7ee7\u627f\u4e86\u7236\u7c7b\uff0c\u5c31\u76f4\u63a5\u90fd\u62e5\u6709\u4e86\u7236\u7c7b\u7684\u4e1c\u897f\u4e86\u4e48\uff1f\u4e3a\u5565\u8981\u4f7f\u7528 super \u5462\uff1f<\/p>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u5176\u5b9e\uff0c\u5982\u679c\u4f60\u5bf9&nbsp;<strong style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: inherit;font-style: inherit;outline: 0px;vertical-align: baseline;\">\u7c7b<\/strong>&nbsp;\u548c&nbsp;<strong style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: inherit;font-style: inherit;outline: 0px;vertical-align: baseline;\">\u5bf9\u8c61<\/strong>&nbsp;\uff08\u4e5f\u5c31\u662f\u6211\u4eec\u4e0a\u4e0a\u7bc7\u8bf4\u7684\u5185\u5bb9\uff09\u4e4b\u95f4\u7684\u533a\u522b\u6709\u4e00\u4e2a\u660e\u786e\u7684\u8ba4\u8bc6\uff0c\u4f60\u4f1a\u660e\u767d\uff1a\u201c\u7c7b\u53ea\u662f\u4e00\u4e2a\u7ed3\u6784\u201d\uff0c\u5bf9\u5417\uff1f\u6240\u4ee5\u4f60\u5728\u5b9a\u4e49\u7ed3\u6784\u7684\u65f6\u5019\uff0c\u5b83\u5e76\u4e0d\u662f\u5b9e\u4f8b\u5316\u51fa\u6765\u7684\u5bf9\u8c61\u4e86\uff0c\u4f60\u53ea\u662f\u5b9a\u4e49\uff0c\u90a3\u4e48\u4f60\u5728\u5b9a\u4e49\u65b9\u6cd5\u7684\u65f6\u5019\u60f3\u8981\u7528\u5230 super \u7c7b\u7684\u65b9\u6cd5\uff0c\u4f60\u5c31\u53ea\u80fd\u7528 super \u6765\u8c03\u7528\u5b83\u3002<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages aligncenter\"      style=\"\" src=\"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/J2icnQspGlaJns6kticE6mnYxrIVyMZG3dvdkvscDxohZ4LPxgocdPGU2ql6xdB9ibCs2NrAWbVaULJlX7wYcgeHA\/640?wx_fmt=png\"  \/><\/p>\n<figure class=\"aligncenter\" style=\"box-sizing: inherit;display: table;margin-right: auto;margin-left: auto;clear: both;\"><\/figure>\n<p><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages aligncenter\"      style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python1-1581516345.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<figure class=\"aligncenter\" style=\"box-sizing: inherit;display: table;margin-right: auto;margin-left: auto;clear: both;\"><\/figure>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\"><br  \/><\/p>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u5f53\u7136\uff0c\u4f60\u4e5f\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528 super \u7c7b\u7684<strong style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: inherit;font-style: inherit;outline: 0px;vertical-align: baseline;\">\u540d\u79f0<\/strong>\u8fdb\u884c\u8c03\u7528\uff0c\u6bd4\u5982\u8fd9\u6837\uff1a<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages aligncenter\"      style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python1-1581516345-1.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p><br  \/><\/p>\n<figure class=\"aligncenter\" style=\"box-sizing: inherit;display: table;margin-right: auto;margin-left: auto;clear: both;\"><\/figure>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u867d\u7136\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u7236\u7c7b\u7684\u540d\u79f0\u6765\u8c03\u7528\u7236\u7c7b\u7684\u65b9\u6cd5\uff0c\u4f46\u662f\u8fd9\u53ea\u662f\u9002\u7528\u4e8e\u5355\u7ee7\u627f\u7684\u60c5\u51b5\uff08\u5c0f\u5e05b\u4e4b\u524d\u7ed9\u4f60\u4e3e\u7684\u4f8b\u5b50\uff0c\u9ec4\u79cd\u4eba\u7ee7\u627f\u4e86\u4eba\u7c7b\uff0c\u5c31\u662f\u4e00\u4e2a\u5355\u7ee7\u627f\u3002\uff09<\/p>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u63a5\u4e0b\u6765\u7ed9\u4f60\u8bb2\u7684\u591a\u7ee7\u627f\uff0c\u76f8\u4fe1\u4f60\u4f1a\u5bf9 super \u66f4\u8fd1\u4e00\u6b65\u7684\u8ba4\u8bc6\u3002<\/p>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u6765\u4e3e\u4e00\u4e2a\u591a\u7ee7\u627f\u7684\u4f8b\u5b50\uff1a<\/p>\n<p><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages aligncenter\"      style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python3-1581516346.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<figure class=\"aligncenter\" style=\"box-sizing: inherit;display: table;margin-right: auto;margin-left: auto;clear: both;\"><\/figure>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\"><br  \/><\/p>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u8fd9\u91cc\u7684 super \u7c7b\u662f Person \uff0c\u884d\u751f\u51fa\u4e86\u9ec4\u79cd\u4eba\u7684\u7238\u7238\u8fd9\u4e2a\u7c7b\u548c\u767d\u79cd\u4eba\u5988\u5988\u8fd9\u4e2a\u7c7b\uff0c\u800c\u513f\u5b50\u53c8\u7ee7\u627f\u4e86\u5b83\u4eec\uff0c\u7528\u4ee3\u7801\u4f53\u73b0\u4e00\u4e0b\u5c31\u662f\u8fd9\u6837\uff1a<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages aligncenter\"      style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python9-1581516346.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p><br  \/><\/p>\n<figure class=\"aligncenter\" style=\"box-sizing: inherit;display: table;margin-right: auto;margin-left: auto;clear: both;\"><\/figure>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u53ef\u4ee5\u770b\u5230\uff0cYellowPeopleFather(Person) \u548c WhitePersonMother(Person) \u662f\u6211\u4eec\u4e4b\u524d\u719f\u6089\u7684\u5355\u7ee7\u627f\uff0c\u800c class Son(YellowPeopleFather, WhitePersonMother) \u540c\u65f6\u7ee7\u627f\u4e86 YellowPeopleFather \u548c WhitePersonMother \uff0c\u6240\u4ee5\u8fd9\u5c31\u662f\u591a\u7ee7\u627f\uff0c<strong style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: inherit;font-style: inherit;outline: 0px;vertical-align: baseline;\">\u6700\u5927\u7684\u597d\u5904\u5c31\u662f\u5f53\u6211\u4eec\u5b9e\u4f8b\u5316\u51fa Son \u5bf9\u8c61\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u540c\u65f6\u62e5\u6709 YellowPeopleFather \u548c WhitePersonMother \u7684\u4e1c\u897f\uff1a<\/strong><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages aligncenter\"      style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python5-1581516347.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p><br  \/><\/p>\n<figure class=\"aligncenter\" style=\"box-sizing: inherit;display: table;margin-right: auto;margin-left: auto;clear: both;\"><\/figure>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u53ef\u4ee5\u770b\u5230\uff0c\u5f53\u6211\u4eec\u5b9e\u4f8b\u5316\u51fa Son \u8fd9\u4e2a\u5bf9\u8c61\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u4f7f\u7528\u5230 YellowPeopleFather \u548c play \u65b9\u6cd5\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u5230 WhitePersonMother \u7684 say \u65b9\u6cd5\uff0c\u5f53\u7136\uff0c\u56e0\u4e3a\u5b83\u4eec\u90fd\u7ee7\u627f\u4e8e Person \uff0c\u6240\u4ee5 Son \u8fd9\u4e2a\u5bf9\u8c61\u8fd8\u53ef\u4ee5\u4f7f\u7528 Person \u7684 eat \u65b9\u6cd5\uff1a<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages aligncenter\"      style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python0-1581516347.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p><br  \/><\/p>\n<figure class=\"aligncenter\" style=\"box-sizing: inherit;display: table;margin-right: auto;margin-left: auto;clear: both;\"><\/figure>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u90a3\u4e48\uff0c\u4f60\u6709\u6ca1\u6709\u60f3\u8fc7\uff0c\u5982\u679c Son \u7684\u7236\u7c7b\u4eec\u90fd\u62e5\u6709\u76f8\u540c\u7684\u65b9\u6cd5\uff0cSon \u53bb\u8c03\u7528\u5b83\u4eec\u7684\u65f6\u5019\uff0c\u4f1a\u8c03\u7528\u8c01\u7684\u65b9\u6cd5\u5462\uff1f<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages aligncenter\"      style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python5-1581516347-1.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p><br  \/><\/p>\n<figure class=\"aligncenter\" style=\"box-sizing: inherit;display: table;margin-right: auto;margin-left: auto;clear: both;\"><\/figure>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u8fd9\u65f6\u5019\u8fd0\u884c\u7684\u7ed3\u679c\u662f\uff1a<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages aligncenter\"      style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python9-1581516347.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p><br  \/><\/p>\n<figure class=\"aligncenter\" style=\"box-sizing: inherit;display: table;margin-right: auto;margin-left: auto;clear: both;\"><\/figure>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u662f\u7684\uff0c\u5b83\u8c03\u7528\u7684\u662f YellowPeopleFather \u91cc\u7684\u65b9\u6cd5\uff0c\u8fd9\u662f\u4e3a\u4ec0\u4e48\u5462\uff1f<\/p>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u8981\u7406\u89e3\u591a\u91cd\u7ee7\u627f\u7684\u5b50\u7c7b\uff0c\u8c03\u7528\u65b9\u6cd5\u7684<strong style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: inherit;font-style: inherit;outline: 0px;vertical-align: baseline;\">\u987a\u5e8f<\/strong>\u4e86\uff0c\u5728 Python \u4e2d\uff0c\u4f7f\u7528\u5230\u7684\u662f MRO\uff08\u4f60\u77e5\u9053\u5b83\u662f\u4e00\u79cd\u7b97\u6cd5\u5c31\u884c\uff0c\u5148\u4e0d\u7528\u6df1\u7a76\uff09 \uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u8c03\u7528\u5b50\u7c7b\u7684 mro \u65b9\u6cd5\u6765\u5177\u4f53\u67e5\u770b\uff1a<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages aligncenter\"      style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python10-1581516348.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p><br  \/><\/p>\n<figure class=\"aligncenter\" style=\"box-sizing: inherit;display: table;margin-right: auto;margin-left: auto;clear: both;\"><\/figure>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u53ef\u4ee5\u770b\u5230\uff0c\u8fd9\u91cc\u662f\u8c03\u7528\u7684\u987a\u5e8f\u662f\uff1aSon-&gt;YellowPeopleFather\u2013&gt;WhitePersonMother\u2013&gt;Person\u2013&gt;object\u3002<\/p>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u56e0\u4e3a\u6211\u4eec\u7684 Son \u7c7b\u6ca1\u6709\u5b9a\u4e49 eat \u65b9\u6cd5\uff0c\u6240\u4ee5\u6211\u4eec\u624d\u4f1a\u770b\u5230 Son \u662f\u8c03\u7528\u4e86 YellowPeopleFather \u91cc\u7684 eat \u65b9\u6cd5\u3002<\/p>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u90a3\u4e48\u5230\u8fd9\u91cc\uff0c<strong style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: inherit;font-style: inherit;outline: 0px;vertical-align: baseline;\">\u6211\u8981\u8ddf\u4f60\u8bf4 super \u7684\u672c\u8d28\u610f\u601d\u4e86\uff0c\u5f53\u4f60\u8c03\u7528 super \u7684\u65f6\u5019\uff0c\u5176\u5b9e\u662f\u8c03\u7528 MRO \u987a\u5e8f\u7684\u4e0b\u4e00\u4e2a\u7c7b\u3002<\/strong><\/p>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u6bd4\u5982\uff1a<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages aligncenter\"      style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python5-1581516348.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p><br  \/><\/p>\n<figure class=\"aligncenter\" style=\"box-sizing: inherit;display: table;margin-right: auto;margin-left: auto;clear: both;\"><\/figure>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u8fd9\u6837\u6211\u4eec\u8c03\u7528\u5230\u7684\u662f Son \u91cc\u9762\u7684\u65b9\u6cd5\uff0c\u6ca1\u6bdb\u75c5\u5427? \u90a3\u4e48\u6b64\u65f6\u6211\u4eec\u60f3\u5728 Son \u91cc\u9762\u4f7f\u7528 YellowPeopleFather \u7684 eat \u65b9\u6cd5\uff0c\u600e\u4e48\u7528\u5462\uff1f\u6839\u636e MRO \u8fd9\u4e2a\u987a\u5e8f\uff1aSon-&gt;YellowPeopleFather\u2013&gt;WhitePersonMother\u2013&gt;Person\u2013&gt;object\u3002<\/p>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u90a3\u4e48 super \u7684\u4e0b\u4e00\u4e2a\u5c31\u662f\u554a\uff0c\u6240\u4ee5\u53ef\u4ee5\u8fd9\u6837\uff1a<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages aligncenter\"      style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python3-1581516349.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p><br  \/><\/p>\n<figure class=\"aligncenter\" style=\"box-sizing: inherit;display: table;margin-right: auto;margin-left: auto;clear: both;\"><\/figure>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u6211\u4eec\u53ef\u4ee5\u5728 super \u91cc\u9762\u643a\u5e26\u4e00\u4e2a MRO \u987a\u5e8f\u7684\u524d\u4e00\u4e2a\u7c7b\uff0c\u4e5f\u5c31\u662f\u521a\u521a\u7684\u4ee3\u7801\u4e5f\u53ef\u4ee5\u8fd9\u6837\u5199\uff1a<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages aligncenter\"      style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python10-1581516349.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p><br  \/><\/p>\n<figure class=\"aligncenter\" style=\"box-sizing: inherit;display: table;margin-right: auto;margin-left: auto;clear: both;\"><\/figure>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u76f8\u540c\u7684\u9053\u7406\uff0c\u60f3\u8981\u76f4\u63a5\u8c03\u7528\u7684\u662f WhitePersonMother \u7684 eat \u65b9\u6cd5\u5462\uff1f\u8fd8\u662f\u6839\u636e\u8fd9\u4e2a\u987a\u5e8f\uff1aSon-&gt;YellowPeopleFather\u2013&gt;WhitePersonMother\u2013&gt;Person\u2013&gt;object\u3002<\/p>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">WhitePersonMother \u7684\u524d\u4e00\u4e2a\u662f YellowPeopleFather \u5bf9\u4e0d\u5bf9\uff1f\u6240\u4ee5\u5c31\u53ef\u4ee5\u8fd9\u6837\uff1a<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages aligncenter\"      style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python5-1581516349.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p><br  \/><\/p>\n<figure class=\"aligncenter\" style=\"box-sizing: inherit;display: table;margin-right: auto;margin-left: auto;clear: both;\"><\/figure>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;margin-bottom: 2rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u90a3\u4e48\u8981\u7528 Person \u7684\uff0c\u6211\u60f3\u4f60\u5e94\u8be5\u77e5\u9053\u4e86\uff1a<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages aligncenter\"      style=\"\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python3-1581516349-1.png\" alt=\"python\" title=\"python\"  \/><\/p>\n<p><br  \/><\/p>\n<figure class=\"aligncenter\" style=\"box-sizing: inherit;display: table;margin-right: auto;margin-left: auto;clear: both;\"><\/figure>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\">\u4ee5\u4e0a\u5c31\u662f Python \u9762\u5411\u5bf9\u8c61\u4e2d\u7684\u591a\u7ee7\u627f\u548c super \u7684\u4f7f\u7528\uff0c\u8bf7\u4f60\u81ea\u5df1\u79c1\u5e95\u4e0b\u5b9e\u73b0\u4e00\u4e0b\uff0c\u4f53\u4f1a\u5176\u4e2d\u7684\u8fc7\u7a0b\uff0c\u505a\u597d\u7b14\u8bb0\u548c\u603b\u7ed3\u3002<\/p>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\"><br  \/><\/p>\n<p style=\"box-sizing: inherit;border-width: 0px;border-style: initial;border-color: initial;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size: 1.125rem;outline: 0px;vertical-align: baseline;color: rgb(47, 47, 47);letter-spacing: 2px;white-space: normal;background-color: rgb(255, 255, 255);\"><br  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: center;\"><img decoding=\"async\" class=\"mpa-image aligncenter\"     src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python5-1581516350.gif\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: center;\"><strong><span style=\"letter-spacing: 2px;text-align: center;\">\u626b\u4e00\u626b<\/span><\/strong><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: center;\"><strong><span style=\"letter-spacing: 2px;text-align: center;\">\u5b66\u4e60 Python \u6ca1\u70e6\u607c<\/span><\/strong><\/p>\n<p style=\"margin-left: 0.5em;margin-right: 0.5em;letter-spacing: 3px;text-align: center;\"><strong><span style=\"letter-spacing: 2px;text-align: center;\"><br  \/><\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\" aligncenter\"       style=\"width: 58%;box-shadow: rgb(170, 170, 170) 0em 0em 1em 0px;height: auto !important;\" src=\"http:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/02\/python8-1581516350.jpeg\" alt=\"python\" title=\"python\"  \/><\/p>\n<p style=\"margin-left: 1em;margin-right: 1em;letter-spacing: 3px;\"><br  \/><\/p>\n<blockquote class=\"keep-source\">\n<p>\u539f\u6587\u59cb\u53d1\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7\uff08\u5b66\u4e60python\u7684\u6b63\u786e\u59ff\u52bf\uff09\uff1a<a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU2ODYzNTkwMg==&#038;mid=2247485790&#038;idx=1&#038;sn=1fe00dad3f74f7270def56dd3772a060&#038;chksm=fc8bb1cfcbfc38d960391a2a5b87217d54e6fb7e4c21920778c6a620e1423c89ab59e9a32f67\">python<\/a><\/p>\n<\/blockquote>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u6709\u4e9b\u670b\u53cb\u54a8\u8be2 VIP \u76f8\u5173\u7684\u4e8b\uff0c\u6211\u8bf4\u5c31\u662f\u5728\u4ecb\u7ecd\u6587\u91cc\u9762\u5199\u7684\u90a3\u4e9b\uff0c\u5206\u9636\u6bb5\u8fdb\u884c\u7684\uff0c\u77e5\u8bc6\u5c31\u662f\u90a3\u4e48\u4e9b\u77e5\u8bc6\uff0c\u6ca1\u4ec0\u4e48\u725b\u903c\uff0c\u53ea\u662f\u6211\u7a0d\u5fae\u80fd\u591f\u8bb2\u5f97\u66f4\u5bb9\u6613\u7406\u89e3\u4e00\u4e9b\u7f62\u4e86\u3002 \u7136\u540e\u5c31\u6709\u4eba\u95ee\u4e86\uff0c\u6709\u6ca1\u6709\u8bd5\u770b\uff1f \u6211\u8bf4\u4e86\u53e5\u201c\u6ca1\u6709\u201d\u4e4b\u540e\uff0c\u53cc\u65b9\u90fd\u7565\u663e\u5c34\u5c2c\uff0c\u6bd5\u7adf\u522b\u7684\u4e13\u680f\u90fd\u6709\u597d\u51e0\u7bc7\u8bd5\u770b\u6587\u7ae0&hellip;<\/p>\n","protected":false},"author":1,"featured_media":2946,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[303],"tags":[302,19,300,301],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/2945"}],"collection":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2945"}],"version-history":[{"count":1,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/2945\/revisions"}],"predecessor-version":[{"id":2963,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/2945\/revisions\/2963"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/media\/2946"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}