<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>Pythonの再帰の深さについてあれこれ - 社長じゃないよ Pythonで末尾再帰最適化をする。 - wasabizの日記 # -*- coding: utf-8 -*- def sum(n, acc=0): if n == 0: return acc else: return sum(n-1, acc+n) sum(100000) RuntimeError: maximum recursion depth exceeded再帰の限界を越えたときに発生するエラーだそう。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20130827%2F1377561921&quot; title=&quot;RuntimeError: maximum recursion depth exceeded - by shigemk2&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-08-27 09:05:21</published>
  <title>RuntimeError: maximum recursion depth exceeded</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20130827/1377561921</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
