From 569d7275ea3868f9da321e3cded19fd8dac9f587 Mon Sep 17 00:00:00 2001 From: vfdev Date: Sun, 6 Feb 2022 15:11:47 +0100 Subject: [PATCH] typos --- solutions/system_design/web_crawler/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solutions/system_design/web_crawler/README.md b/solutions/system_design/web_crawler/README.md index e6e79ad2..7ee09be0 100644 --- a/solutions/system_design/web_crawler/README.md +++ b/solutions/system_design/web_crawler/README.md @@ -103,7 +103,7 @@ We could store `links_to_crawl` and `crawled_links` in a key-value **NoSQL Datab ```python class PagesDataStore(object): - def __init__(self, db); + def __init__(self, db): self.db = db ... @@ -115,7 +115,7 @@ class PagesDataStore(object): """Remove the given link from `links_to_crawl`.""" ... - def reduce_priority_link_to_crawl(self, url) + def reduce_priority_link_to_crawl(self, url): """Reduce the priority of a link in `links_to_crawl` to avoid cycles.""" ...