{"id":9367,"date":"2024-10-14T17:55:15","date_gmt":"2024-10-14T17:55:15","guid":{"rendered":"https:\/\/metaschool.so\/articles\/?p=9367"},"modified":"2024-12-06T08:09:08","modified_gmt":"2024-12-06T08:09:08","slug":"python-block-comment","status":"publish","type":"post","link":"https:\/\/metaschool.so\/articles\/python-block-comment\/","title":{"rendered":"How to Comment A Code Block in Python \u2014 Explained"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_56_1 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/metaschool.so\/articles\/python-block-comment\/#Why_Are_Block_Comments_in_Python_Important\" title=\"Why Are Block Comments in Python Important?\">Why Are Block Comments in Python Important?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/metaschool.so\/articles\/python-block-comment\/#Method_1_Commenting_Using_Multiple_Single_Line\" title=\"Method #1: Commenting Using Multiple Single Line #\">Method #1: Commenting Using Multiple Single Line #<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/metaschool.so\/articles\/python-block-comment\/#Method_2_Commenting_Using_Triple-Quoted_String_Literals\" title=\"Method #2: Commenting Using Triple-Quoted String Literals\">Method #2: Commenting Using Triple-Quoted String Literals<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/metaschool.so\/articles\/python-block-comment\/#Bonus_Tip_%F0%9F%98%89\" title=\"Bonus Tip \ud83d\ude09\">Bonus Tip \ud83d\ude09<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/metaschool.so\/articles\/python-block-comment\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/metaschool.so\/articles\/python-block-comment\/#FAQs\" title=\"FAQs\">FAQs<\/a><\/li><\/ul><\/nav><\/div>\n\n<p>When writing Python code, comments play a crucial role in making the code understandable and maintainable. Whether you&#8217;re documenting your thought process, explaining a complex section, or temporarily disabling a portion of the code for testing, comments ensure that anyone reviewing the script can follow the logic easily. In Python, there are two common ways to comment out a block of code: using multiple single-line comments and triple-quoted string literals.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"823\" src=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/10\/rb_2148281410-1024x823.png\" alt=\"Python - comment a code block article\" class=\"wp-image-9405\" style=\"width:270px;height:auto\" srcset=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/10\/rb_2148281410-1024x823.png 1024w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/10\/rb_2148281410-300x241.png 300w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/10\/rb_2148281410-768x617.png 768w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/10\/rb_2148281410-1536x1235.png 1536w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/10\/rb_2148281410-1320x1061.png 1320w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/10\/rb_2148281410.png 1847w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>If you&#8217;re a beginner, it&#8217;s a great idea to refer to the <a href=\"https:\/\/docs.python.org\/3\/tutorial\/introduction.html\" target=\"_blank\" rel=\"noopener\">official Python documentation<\/a>. It provides comprehensive and reliable information to help you learn and understand Python more effectively.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Are_Block_Comments_in_Python_Important\"><\/span>Why Are Block Comments in Python Important?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Block comments provide context over the intent and functionality of your code, which is essential for several reasons:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Documentation<\/strong>: Comments help document the purpose and usage of functions, classes, and code blocks.<\/li>\n\n\n\n<li><strong>Readability<\/strong>: They make the code more readable, especially when returning to it after a while or sharing it with others.<\/li>\n\n\n\n<li><strong>Debugging<\/strong>: Comments allow you to easily disable sections of code while troubleshooting.<\/li>\n\n\n\n<li><strong>Collaboration<\/strong>: In team environments, comments make it easier to understand and maintain code.<\/li>\n<\/ul>\n\n\n\n<p>Now, let&#8217;s dive into the two methods for commenting blocks of code in Python.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method_1_Commenting_Using_Multiple_Single_Line\"><\/span>Method #1: Commenting Using Multiple Single Line <code>#<\/code><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In Python, a single-line comment is created by adding the <code>#<\/code> symbol at the beginning of a line. To comment out a block of code, you can place the <code>#<\/code> symbol at the start of each line in that block.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#272822\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"# This block of code calculates the sum of two numbers\n# def add_numbers(a, b):\n#     # This line adds the two numbers\n#     return a + b\n\n# add_numbers(5, 10)  # This would return 15\" style=\"color:#F8F8F2;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki monokai\" style=\"background-color: #272822\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #88846F\"># This block of code calculates the sum of two numbers<\/span><\/span>\n<span class=\"line\"><span style=\"color: #88846F\"># def add_numbers(a, b):<\/span><\/span>\n<span class=\"line\"><span style=\"color: #88846F\">#     # This line adds the two numbers<\/span><\/span>\n<span class=\"line\"><span style=\"color: #88846F\">#     return a + b<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #88846F\"># add_numbers(5, 10)  # This would return 15<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>In the example above, each line in the block is commented out individually using the <code>#<\/code> symbol. This method is commonly used when you want to disable or explain a block of code.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">When to Use:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Targeted Explanations or Disabling Specific Lines:<\/strong> This method is perfect for commenting out a few lines of code or adding short explanations. It&#8217;s especially handy when you need to make quick changes to specific parts of the code without affecting the rest of the script.<\/li>\n\n\n\n<li><strong>Incremental Development:<\/strong> When writing code incrementally, you might want to disable certain functions or lines temporarily. The single-line <code>#<\/code> comment allows you to toggle specific lines on and off easily, especially for testing purposes.<\/li>\n\n\n\n<li><strong>Small Codebases:<\/strong> In smaller scripts or projects, using multiple single-line comments keeps the structure clean and avoids unnecessary complexity when disabling small sections.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method_2_Commenting_Using_Triple-Quoted_String_Literals\"><\/span>Method #2: Commenting Using Triple-Quoted String Literals<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Another way to comment out multiple lines is by using triple-quoted string literals: <code>'''<\/code> or <code>\"\"\"<\/code>. These string literals are treated as multi-line strings in Python and are often used for docstrings (documentation strings). When placed around a block of code, the Python interpreter ignores it during execution.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#272822\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"'''\n  def multiply_numbers(a, b):\n      # This function multiplies two numbers\n      return a * b\n  \n  multiply_numbers(3, 4)  # This would return 12\n'''\" style=\"color:#F8F8F2;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki monokai\" style=\"background-color: #272822\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #E6DB74\">&#39;&#39;&#39;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E6DB74\">  def multiply_numbers(a, b):<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E6DB74\">      # This function multiplies two numbers<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E6DB74\">      return a * b<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E6DB74\">  <\/span><\/span>\n<span class=\"line\"><span style=\"color: #E6DB74\">  multiply_numbers(3, 4)  # This would return 12<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E6DB74\">&#39;&#39;&#39;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>In this example, the block of code between the triple quotes is ignored by the interpreter, effectively commenting it out.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">When to Use:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Larger Blocks of Code:<\/strong> If you need to disable or explain a significant portion of code, using triple-quoted string literals is more efficient than manually placing a <code>#<\/code> in front of each line. This approach is quicker and avoids clutter, particularly when experimenting with or refactoring code.<\/li>\n\n\n\n<li><strong>Documentation or Code Drafting:<\/strong> If you&#8217;re drafting code that isn&#8217;t yet functional but want to leave it within the script for future development, triple-quoted comments allow you to &#8220;comment out&#8221; the draft without disrupting the flow of the rest of the script.<\/li>\n\n\n\n<li><strong>Docstrings for Function Documentation:<\/strong> In addition to commenting out blocks of code, triple quotes are often used to provide function documentation (docstrings), which describe the purpose, parameters, and return values of a function. This dual use makes it a versatile method for multi-line comments.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/10\/innovative-idea-tip-concept-with-creative-light-bulb-sign-vector-1-1024x1024.png\" alt=\"\" class=\"wp-image-9420\" style=\"width:153px;height:auto\" srcset=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/10\/innovative-idea-tip-concept-with-creative-light-bulb-sign-vector-1-1024x1024.png 1024w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/10\/innovative-idea-tip-concept-with-creative-light-bulb-sign-vector-1-300x300.png 300w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/10\/innovative-idea-tip-concept-with-creative-light-bulb-sign-vector-1-150x150.png 150w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/10\/innovative-idea-tip-concept-with-creative-light-bulb-sign-vector-1-768x768.png 768w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/10\/innovative-idea-tip-concept-with-creative-light-bulb-sign-vector-1-1536x1536.png 1536w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/10\/innovative-idea-tip-concept-with-creative-light-bulb-sign-vector-1-1320x1320.png 1320w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/10\/innovative-idea-tip-concept-with-creative-light-bulb-sign-vector-1.png 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Bonus_Tip_%F0%9F%98%89\"><\/span>Bonus Tip \ud83d\ude09<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If you&#8217;re using an IDE, most support easy shortcuts for commenting out code. On macOS, press <strong>CMD + \/<\/strong>, and on Windows, press <strong>CTRL + \/<\/strong>. Simply highlight the block of code you want to comment out and use this key combination to quickly toggle comments on or off. This can save time when working with large sections of code. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Effective use of comments can significantly improve code readability and maintainability. Whether you use the <code>#<\/code> symbol for single-line comments or <code>'''<\/code> for multi-line comments, both methods allow you to document your code in a clear and organized manner. <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Remember, comments are not just for others\u2014they are also helpful when revisiting your code after some time.<\/p>\n<\/blockquote>\n\n\n\n<p>By understanding when to use each commenting method, you can choose the approach that best fits the size and scope of your code, improving both its readability as well as your productivity. Incorporating comments in your scripts ensures your code is easy to understand and modify, making it more efficient and maintainable in the long run.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Related reading<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/metaschool.so\/articles\/python-interview-questions\/\">Top 50 Python Interview Questions and Answers (2024)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/metaschool.so\/articles\/python-switch-case\/\">Python Switch Case \u2013 A Comprehensive Guide<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/metaschool.so\/articles\/python-exponents\/\">Python Exponent: Complete Guide To Exponents in Python<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/metaschool.so\/articles\/python-string-length\/\">How to Use Python String Length?<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/metaschool.so\/articles\/python-check-if-file-exists\/\">How to check if a file exists in Python?<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"FAQs\"><\/span>FAQs<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1728649032180\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>How do I comment out multiple lines in Python?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>To comment out multiple lines in Python, you can either:<br \/>1. Use the <code>#<\/code> symbol at the beginning of each line. This tells the Python interpreter to ignore those lines.<br \/>2. Use triple-quoted string literals (<code>'''<\/code> or <code>\"\"\"<\/code>) to enclose the code block. This is commonly used for multi-line comments or docstrings.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1728649057429\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>How do I comment multiple lines?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>To comment multiple lines, you can:<br \/>1. Insert the <code>#<\/code> symbol at the start of each line you want to comment.<br \/>2. Use triple quotes (<code>'''<\/code> or <code>\"\"\"<\/code>) around a block of code, especially if the block is large.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1728649082397\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>How do I comment out a block of code?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>To comment out a block of code:<br \/><strong>\u2022<\/strong> Use <code>#<\/code> at the beginning of each line in the block.<br \/><strong>\u2022<\/strong> For larger blocks, you can use triple-quoted string literals (<code>'''<\/code> or <code>\"\"\"<\/code>), which will comment out the entire block.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1728649143570\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>How to put <code>#<\/code> in front of multiple lines in Python?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>In most IDEs, you can select multiple lines of code and use a keyboard shortcut to add <code>#<\/code> to the beginning of each line:<br \/><strong>\u2022<\/strong> On macOS, press <strong>CMD + \/<\/strong>.<br \/><strong>\u2022<\/strong> On Windows, press <strong>CTRL + \/<\/strong>.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":19,"featured_media":10998,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[292],"tags":[],"class_list":["post-9367","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-answers"],"_links":{"self":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts\/9367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/comments?post=9367"}],"version-history":[{"count":22,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts\/9367\/revisions"}],"predecessor-version":[{"id":9429,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts\/9367\/revisions\/9429"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/media\/10998"}],"wp:attachment":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/media?parent=9367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/categories?post=9367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/tags?post=9367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}