{"id":1144702,"date":"2025-01-08T23:02:03","date_gmt":"2025-01-08T15:02:03","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1144702.html"},"modified":"2025-01-08T23:02:05","modified_gmt":"2025-01-08T15:02:05","slug":"python3%e5%a6%82%e4%bd%95%e8%b0%83%e7%94%a8%e5%8f%a6%e4%b8%80%e4%b8%aa%e5%87%bd%e6%95%b0%e7%9a%84%e5%8f%98%e9%87%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1144702.html","title":{"rendered":"python3\u5982\u4f55\u8c03\u7528\u53e6\u4e00\u4e2a\u51fd\u6570\u7684\u53d8\u91cf"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24181644\/be74c114-6f4c-4085-929d-994a0ff681ae.webp\" alt=\"python3\u5982\u4f55\u8c03\u7528\u53e6\u4e00\u4e2a\u51fd\u6570\u7684\u53d8\u91cf\" \/><\/p>\n<p><p> <strong>\u5728Python3\u4e2d\u8c03\u7528\u53e6\u4e00\u4e2a\u51fd\u6570\u7684\u53d8\u91cf\uff1a\u4f7f\u7528\u5168\u5c40\u53d8\u91cf\u3001\u901a\u8fc7\u51fd\u6570\u53c2\u6570\u4f20\u9012\u3001\u4f7f\u7528\u7c7b\u5c5e\u6027\u3001\u4f7f\u7528\u95ed\u5305<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python3\u4e2d\uff0c\u8c03\u7528\u53e6\u4e00\u4e2a\u51fd\u6570\u7684\u53d8\u91cf\u6709\u591a\u79cd\u65b9\u6cd5\u3002\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5168\u5c40\u53d8\u91cf\u3001\u901a\u8fc7\u51fd\u6570\u53c2\u6570\u4f20\u9012\u3001\u4f7f\u7528\u7c7b\u5c5e\u6027\u3001\u4f7f\u7528\u95ed\u5305\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u63a2\u8ba8\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u5e76\u63d0\u4f9b\u5b9e\u9645\u7684\u4ee3\u7801\u793a\u4f8b\u6765\u5c55\u793a\u5982\u4f55\u5728\u4e0d\u540c\u60c5\u51b5\u4e0b\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u5c55\u5f00\u4f7f\u7528\u51fd\u6570\u53c2\u6570\u4f20\u9012\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u51fd\u6570\u53c2\u6570\u4f20\u9012\uff0c\u60a8\u53ef\u4ee5\u5c06\u4e00\u4e2a\u51fd\u6570\u7684\u53d8\u91cf\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9\u53e6\u4e00\u4e2a\u51fd\u6570\uff0c\u4ece\u800c\u907f\u514d\u4f7f\u7528\u5168\u5c40\u53d8\u91cf\u5e26\u6765\u7684\u6f5c\u5728\u95ee\u9898\u3002\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u5728\u4e8e\u4ee3\u7801\u66f4\u52a0\u6a21\u5757\u5316\u3001\u53ef\u8bfb\u6027\u66f4\u9ad8\uff0c\u5e76\u4e14\u907f\u514d\u4e86\u5168\u5c40\u53d8\u91cf\u53ef\u80fd\u5f15\u8d77\u7684\u610f\u5916\u9519\u8bef\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5168\u5c40\u53d8\u91cf<\/h3>\n<\/p>\n<p><h4>\u4f7f\u7528\u5168\u5c40\u53d8\u91cf<\/h4>\n<\/p>\n<p><p>\u5168\u5c40\u53d8\u91cf\u662f\u5b9a\u4e49\u5728\u6240\u6709\u51fd\u6570\u4e4b\u5916\u7684\u53d8\u91cf\uff0c\u8fd9\u4e9b\u53d8\u91cf\u5728\u6574\u4e2a\u7a0b\u5e8f\u4e2d\u90fd\u662f\u53ef\u8bbf\u95ee\u7684\u3002\u901a\u8fc7\u4f7f\u7528\u5168\u5c40\u53d8\u91cf\uff0c\u60a8\u53ef\u4ee5\u5728\u4e00\u4e2a\u51fd\u6570\u4e2d\u5b9a\u4e49\u4e00\u4e2a\u53d8\u91cf\uff0c\u7136\u540e\u5728\u53e6\u4e00\u4e2a\u51fd\u6570\u4e2d\u8bbf\u95ee\u8be5\u53d8\u91cf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u793a\u4f8b\u4ee3\u7801<\/p>\n<p>x = 10  # \u5b9a\u4e49\u5168\u5c40\u53d8\u91cf<\/p>\n<p>def function_a():<\/p>\n<p>    global x  # \u58f0\u660e\u4f7f\u7528\u5168\u5c40\u53d8\u91cfx<\/p>\n<p>    x += 5  # \u4fee\u6539\u5168\u5c40\u53d8\u91cf\u7684\u503c<\/p>\n<p>    print(f&quot;Function A: {x}&quot;)<\/p>\n<p>def function_b():<\/p>\n<p>    print(f&quot;Function B: {x}&quot;)  # \u8bbf\u95ee\u5168\u5c40\u53d8\u91cf<\/p>\n<p>function_a()<\/p>\n<p>function_b()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u5168\u5c40\u53d8\u91cf<code>x<\/code>\u5e76\u5728<code>function_a<\/code>\u4e2d\u8fdb\u884c\u4e86\u4fee\u6539\u3002\u7531\u4e8e<code>x<\/code>\u662f\u5168\u5c40\u53d8\u91cf\uff0c\u6211\u4eec\u5728<code>function_b<\/code>\u4e2d\u4e5f\u53ef\u4ee5\u8bbf\u95ee\u5e76\u6253\u5370\u5176\u503c\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u901a\u8fc7\u51fd\u6570\u53c2\u6570\u4f20\u9012<\/h3>\n<\/p>\n<p><h4>\u4f7f\u7528\u51fd\u6570\u53c2\u6570\u4f20\u9012\u53d8\u91cf<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7\u51fd\u6570\u53c2\u6570\u4f20\u9012\u53d8\u91cf\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u4e4b\u4e00\u3002\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u4f7f\u7528\u5168\u5c40\u53d8\u91cf\uff0c\u4fdd\u6301\u4ee3\u7801\u7684\u6a21\u5757\u5316\u548c\u9ad8\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u793a\u4f8b\u4ee3\u7801<\/p>\n<p>def function_a():<\/p>\n<p>    x = 10  # \u5b9a\u4e49\u5c40\u90e8\u53d8\u91cf<\/p>\n<p>    return x  # \u8fd4\u56de\u5c40\u90e8\u53d8\u91cf\u7684\u503c<\/p>\n<p>def function_b(x):<\/p>\n<p>    x += 5  # \u4fee\u6539\u4f20\u9012\u8fc7\u6765\u7684\u53d8\u91cf<\/p>\n<p>    print(f&quot;Function B: {x}&quot;)<\/p>\n<p>x = function_a()  # \u83b7\u53d6function_a\u8fd4\u56de\u7684\u503c<\/p>\n<p>function_b(x)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5728<code>function_a<\/code>\u4e2d\u5b9a\u4e49\u4e86\u4e00\u4e2a\u5c40\u90e8\u53d8\u91cf<code>x<\/code>\u5e76\u8fd4\u56de\u5176\u503c\u3002\u7136\u540e\u5728<code>function_b<\/code>\u4e2d\u63a5\u6536\u8fd9\u4e2a\u53d8\u91cf\u5e76\u8fdb\u884c\u4fee\u6539\u548c\u6253\u5370\u3002<\/p>\n<\/p>\n<p><h4>\u4f20\u9012\u591a\u4e2a\u53d8\u91cf<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u4f20\u9012\u591a\u4e2a\u53d8\u91cf\uff0c\u53ef\u4ee5\u5c06\u5b83\u4eec\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9\u53e6\u4e00\u4e2a\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u793a\u4f8b\u4ee3\u7801<\/p>\n<p>def function_a():<\/p>\n<p>    x = 10<\/p>\n<p>    y = 20<\/p>\n<p>    return x, y  # \u8fd4\u56de\u591a\u4e2a\u53d8\u91cf<\/p>\n<p>def function_b(x, y):<\/p>\n<p>    x += 5<\/p>\n<p>    y += 10<\/p>\n<p>    print(f&quot;Function B: x={x}, y={y}&quot;)<\/p>\n<p>x, y = function_a()  # \u83b7\u53d6function_a\u8fd4\u56de\u7684\u591a\u4e2a\u503c<\/p>\n<p>function_b(x, y)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u793a\u4f8b\u4e2d\uff0c<code>function_a<\/code>\u8fd4\u56de\u591a\u4e2a\u53d8\u91cf<code>x<\/code>\u548c<code>y<\/code>\uff0c\u7136\u540e\u5728<code>function_b<\/code>\u4e2d\u63a5\u6536\u5e76\u8fdb\u884c\u4fee\u6539\u548c\u6253\u5370\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u7c7b\u5c5e\u6027<\/h3>\n<\/p>\n<p><h4>\u7c7b\u7684\u5c5e\u6027\u4f20\u9012\u53d8\u91cf<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\uff08OOP\uff09\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u901a\u8fc7\u7c7b\u7684\u5c5e\u6027\u4f20\u9012\u53d8\u91cf\u3002\u8fd9\u79cd\u65b9\u6cd5\u5bf9\u4e8e\u66f4\u590d\u6742\u7684\u9879\u76ee\u5c24\u5176\u6709\u6548\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f60\u7ec4\u7ec7\u4ee3\u7801\u5e76\u63d0\u9ad8\u53ef\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u793a\u4f8b\u4ee3\u7801<\/p>\n<p>class MyClass:<\/p>\n<p>    def __init__(self):<\/p>\n<p>        self.x = 10  # \u5b9a\u4e49\u7c7b\u7684\u5c5e\u6027<\/p>\n<p>    def method_a(self):<\/p>\n<p>        self.x += 5  # \u4fee\u6539\u7c7b\u7684\u5c5e\u6027<\/p>\n<p>        print(f&quot;Method A: {self.x}&quot;)<\/p>\n<p>    def method_b(self):<\/p>\n<p>        print(f&quot;Method B: {self.x}&quot;)  # \u8bbf\u95ee\u7c7b\u7684\u5c5e\u6027<\/p>\n<p>obj = MyClass()<\/p>\n<p>obj.method_a()<\/p>\n<p>obj.method_b()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u7c7b<code>MyClass<\/code>\uff0c\u5e76\u5728\u5176\u4e2d\u5b9a\u4e49\u4e86\u4e00\u4e2a\u5c5e\u6027<code>x<\/code>\u3002\u901a\u8fc7\u7c7b\u7684\u65b9\u6cd5<code>method_a<\/code>\u548c<code>method_b<\/code>\uff0c\u6211\u4eec\u53ef\u4ee5\u4fee\u6539\u548c\u8bbf\u95ee\u8fd9\u4e2a\u5c5e\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528\u95ed\u5305<\/h3>\n<\/p>\n<p><h4>\u95ed\u5305\u4f20\u9012\u53d8\u91cf<\/h4>\n<\/p>\n<p><p>\u95ed\u5305\u662f\u4e00\u4e2a\u51fd\u6570\u5bf9\u8c61\uff0c\u5373\u4f7f\u5728\u5916\u90e8\u51fd\u6570\u5df2\u7ecf\u8fd4\u56de\u4e4b\u540e\uff0c\u5b83\u4ecd\u7136\u4fdd\u7559\u5bf9\u5916\u90e8\u51fd\u6570\u4f5c\u7528\u57df\u4e2d\u53d8\u91cf\u7684\u5f15\u7528\u3002\u95ed\u5305\u53ef\u4ee5\u7528\u4e8e\u4f20\u9012\u53d8\u91cf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u793a\u4f8b\u4ee3\u7801<\/p>\n<p>def outer_function():<\/p>\n<p>    x = 10  # \u5b9a\u4e49\u5916\u90e8\u51fd\u6570\u7684\u5c40\u90e8\u53d8\u91cf<\/p>\n<p>    def inner_function():<\/p>\n<p>        nonlocal x  # \u58f0\u660e\u4f7f\u7528\u5916\u90e8\u51fd\u6570\u7684\u5c40\u90e8\u53d8\u91cf<\/p>\n<p>        x += 5<\/p>\n<p>        print(f&quot;Inner Function: {x}&quot;)<\/p>\n<p>    return inner_function<\/p>\n<p>closure = outer_function()<\/p>\n<p>closure()  # \u8c03\u7528\u95ed\u5305<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u793a\u4f8b\u4e2d\uff0c<code>outer_function<\/code>\u5b9a\u4e49\u4e86\u4e00\u4e2a\u5c40\u90e8\u53d8\u91cf<code>x<\/code>\uff0c\u5e76\u8fd4\u56de\u4e00\u4e2a\u95ed\u5305<code>inner_function<\/code>\u3002\u901a\u8fc7\u4f7f\u7528<code>nonlocal<\/code>\u5173\u952e\u5b57\uff0c<code>inner_function<\/code>\u53ef\u4ee5\u4fee\u6539\u5916\u90e8\u51fd\u6570\u7684\u5c40\u90e8\u53d8\u91cf<code>x<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u7ed3\u8bba<\/h3>\n<\/p>\n<p><p>\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u63a2\u8ba8\u4e86\u5728Python3\u4e2d\u8c03\u7528\u53e6\u4e00\u4e2a\u51fd\u6570\u7684\u53d8\u91cf\u7684\u56db\u79cd\u5e38\u89c1\u65b9\u6cd5\uff1a\u4f7f\u7528\u5168\u5c40\u53d8\u91cf\u3001\u901a\u8fc7\u51fd\u6570\u53c2\u6570\u4f20\u9012\u3001\u4f7f\u7528\u7c7b\u5c5e\u6027\u548c\u4f7f\u7528\u95ed\u5305\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u4f18\u70b9\u548c\u9002\u7528\u573a\u666f\u3002\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\uff0c\u9009\u62e9\u6700\u9002\u5408\u5f53\u524d\u9700\u6c42\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u7684\u8be6\u7ec6\u4ecb\u7ecd\u548c\u4ee3\u7801\u793a\u4f8b\uff0c\u76f8\u4fe1\u60a8\u5df2\u7ecf\u5bf9\u5982\u4f55\u5728Python3\u4e2d\u8c03\u7528\u53e6\u4e00\u4e2a\u51fd\u6570\u7684\u53d8\u91cf\u6709\u4e86\u66f4\u6df1\u5165\u7684\u7406\u89e3\u3002\u5e0c\u671b\u8fd9\u4e9b\u5185\u5bb9\u5bf9\u60a8\u5728\u5b9e\u9645\u7f16\u7a0b\u4e2d\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u8de8\u51fd\u6570\u8bbf\u95ee\u53d8\u91cf\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u6bcf\u4e2a\u51fd\u6570\u90fd\u6709\u81ea\u5df1\u7684\u4f5c\u7528\u57df\uff0c\u53d8\u91cf\u5728\u51fd\u6570\u5185\u5b9a\u4e49\u540e\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u662f\u65e0\u6cd5\u5728\u5176\u4ed6\u51fd\u6570\u4e2d\u76f4\u63a5\u8bbf\u95ee\u7684\u3002\u5982\u679c\u60a8\u60f3\u8981\u5728\u4e00\u4e2a\u51fd\u6570\u4e2d\u4f7f\u7528\u53e6\u4e00\u4e2a\u51fd\u6570\u7684\u53d8\u91cf\uff0c\u53ef\u4ee5\u8003\u8651\u5c06\u8be5\u53d8\u91cf\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9\u53e6\u4e00\u4e2a\u51fd\u6570\uff0c\u6216\u8005\u5c06\u53d8\u91cf\u5b9a\u4e49\u4e3a\u5168\u5c40\u53d8\u91cf\u3002\u4f7f\u7528\u5168\u5c40\u53d8\u91cf\u65f6\uff0c\u8bf7\u52a1\u5fc5\u5c0f\u5fc3\uff0c\u4ee5\u514d\u5f15\u5165\u4e0d\u5fc5\u8981\u7684\u590d\u6742\u6027\u548c\u6f5c\u5728\u7684\u9519\u8bef\u3002<\/p>\n<p><strong>\u4f7f\u7528\u8fd4\u56de\u503c\u6765\u5171\u4eab\u53d8\u91cf\u7684\u597d\u65b9\u6cd5\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u4e00\u79cd\u6709\u6548\u7684\u65b9\u5f0f\u662f\u901a\u8fc7\u8fd4\u56de\u503c\u6765\u5171\u4eab\u53d8\u91cf\u3002\u5f53\u4e00\u4e2a\u51fd\u6570\u5b8c\u6210\u5176\u64cd\u4f5c\u540e\uff0c\u53ef\u4ee5\u5c06\u9700\u8981\u5171\u4eab\u7684\u53d8\u91cf\u4f5c\u4e3a\u8fd4\u56de\u503c\u8fd4\u56de\uff0c\u7136\u540e\u5728\u53e6\u4e00\u4e2a\u51fd\u6570\u4e2d\u63a5\u6536\u8fd9\u4e2a\u8fd4\u56de\u503c\u3002\u8fd9\u6837\u505a\u4e0d\u4ec5\u4f7f\u4ee3\u7801\u66f4\u52a0\u6e05\u6670\uff0c\u8fd8\u63d0\u9ad8\u4e86\u51fd\u6570\u7684\u53ef\u91cd\u7528\u6027\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u5b9a\u4e49\u4e00\u4e2a\u8ba1\u7b97\u51fd\u6570\uff0c\u5e76\u5c06\u7ed3\u679c\u8fd4\u56de\u7ed9\u8c03\u7528\u51fd\u6570\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u4f7f\u7528\u7c7b\u6765\u5171\u4eab\u53d8\u91cf\uff1f<\/strong><br \/>\u5982\u679c\u60a8\u7684\u4ee3\u7801\u903b\u8f91\u8f83\u4e3a\u590d\u6742\uff0c\u8003\u8651\u4f7f\u7528\u7c7b\u6765\u7ec4\u7ec7\u4ee3\u7801\u3002\u5728\u7c7b\u4e2d\u5b9a\u4e49\u7684\u53d8\u91cf\u79f0\u4e3a\u5c5e\u6027\uff0c\u53ef\u4ee5\u5728\u7c7b\u7684\u4e0d\u540c\u65b9\u6cd5\u4e2d\u8bbf\u95ee\u3002\u8fd9\u79cd\u65b9\u6cd5\u63d0\u4f9b\u4e86\u66f4\u597d\u7684\u5c01\u88c5\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002\u901a\u8fc7\u521b\u5efa\u5bf9\u8c61\uff0c\u60a8\u53ef\u4ee5\u5728\u7c7b\u7684\u4e0d\u540c\u65b9\u6cd5\u4e4b\u95f4\u5171\u4eab\u548c\u64cd\u4f5c\u8fd9\u4e9b\u5c5e\u6027\uff0c\u4ece\u800c\u5b9e\u73b0\u66f4\u7075\u6d3b\u7684\u4ee3\u7801\u7ed3\u6784\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python3\u4e2d\u8c03\u7528\u53e6\u4e00\u4e2a\u51fd\u6570\u7684\u53d8\u91cf\uff1a\u4f7f\u7528\u5168\u5c40\u53d8\u91cf\u3001\u901a\u8fc7\u51fd\u6570\u53c2\u6570\u4f20\u9012\u3001\u4f7f\u7528\u7c7b\u5c5e\u6027\u3001\u4f7f\u7528\u95ed\u5305 \u5728Python3 [&hellip;]","protected":false},"author":3,"featured_media":1144712,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1144702"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1144702"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1144702\/revisions"}],"predecessor-version":[{"id":1144716,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1144702\/revisions\/1144716"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1144712"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1144702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1144702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1144702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}