From 5b83ef48a845deffe0f8596724678e73390a3885 Mon Sep 17 00:00:00 2001 From: Tammy DiPrima Date: Mon, 11 May 2020 12:08:15 -0400 Subject: [PATCH 1/3] fixed missing import statement 'import re' --- .../577468_Minimalistic_PostgreSQL_console/recipe-577468.py | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/Python/577468_Minimalistic_PostgreSQL_console/recipe-577468.py b/recipes/Python/577468_Minimalistic_PostgreSQL_console/recipe-577468.py index 53eb233f4..18c4e9769 100644 --- a/recipes/Python/577468_Minimalistic_PostgreSQL_console/recipe-577468.py +++ b/recipes/Python/577468_Minimalistic_PostgreSQL_console/recipe-577468.py @@ -1,6 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +import re import sys import psycopg2 import psycopg2.extras From db8c96c09c06d52b1ad4b0a6ff7f001f3d2241d6 Mon Sep 17 00:00:00 2001 From: swaroop998 <72223625+swaroop998@users.noreply.github.com> Date: Fri, 2 Oct 2020 00:08:28 +0530 Subject: [PATCH 2/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c7f9c4eb7..28c4eaf7a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ActiveState Code Recipes -Welcome to the ActiveState code recipes repo! We have migrated all of the great content from code.activestate.com to its new +Welcome to the ActiveState Code recipes repo! We have migrated all of the great content from code.activestate.com to its new forever-home here at GitHub. This makes it easier for everyone to submit new recipes, contribute code and integrate all the great information into their own projects. @@ -18,7 +18,7 @@ You can find the master index of all recipes over at the [wiki](https://github.c *Coming Soon: Search Functionality!* -## How do I submit a new recipe? +## How could I submit a new recipe? 1. Fork this repo. 2. Create your new recipe in the correct language subfolder (create a new folder if it doesn't already exist). From e6378c55515c45eb8eab07ca64c59ddefba9bf94 Mon Sep 17 00:00:00 2001 From: Jeff Rouse Date: Mon, 12 Oct 2020 16:31:24 -0700 Subject: [PATCH 3/3] Removed short form for between for inline docs. --- .../Python/578112_Bresenhams_line_algorithm/recipe-578112.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/Python/578112_Bresenhams_line_algorithm/recipe-578112.py b/recipes/Python/578112_Bresenhams_line_algorithm/recipe-578112.py index 8838ad588..dffe22406 100644 --- a/recipes/Python/578112_Bresenhams_line_algorithm/recipe-578112.py +++ b/recipes/Python/578112_Bresenhams_line_algorithm/recipe-578112.py @@ -68,8 +68,8 @@ def _bresenhamlines(start, end, max_iter): def bresenhamline(start, end, max_iter=5): """ - Returns a list of points from (start, end] by ray tracing a line b/w the - points. + Returns a list of points from (start, end] by ray tracing a line between + the points. Parameters: start: An array of start points (number of points x dimension) end: An end points (1 x dimension)