From d76f24f8c6c3bcc9620dca91344723154639e207 Mon Sep 17 00:00:00 2001 From: ansengarvin <45224464+ansengarvin@users.noreply.github.com> Date: Thu, 17 Mar 2022 00:44:07 -0700 Subject: [PATCH] Minor code refactoring --- getnames.py | 7 ++++--- syllables.py | 6 +++--- words.py | 7 ++++--- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/getnames.py b/getnames.py index 5c99906..5dca806 100644 --- a/getnames.py +++ b/getnames.py @@ -1,6 +1,7 @@ -""" -Word Class -""" +# Name: Ansen D. Garvin +# OSU Email: garvina@oregonstate.edu +# Patch: 1.0.0 +# Description: A name generation microservice. It selects a few consonants / vowels to create a requested number of names, and returns the list of names. import random import copy from words import Word diff --git a/syllables.py b/syllables.py index d20168e..a45d660 100644 --- a/syllables.py +++ b/syllables.py @@ -1,6 +1,6 @@ -""" -Syllable class definition file for a language generation program. -""" +# Name: Ansen D. Garvin +# OSU Email: garvina@oregonstate.edu +# Description: Implementation for a Language class. import random diff --git a/words.py b/words.py index 6c245ad..917bd36 100644 --- a/words.py +++ b/words.py @@ -1,6 +1,7 @@ -""" -Word Class -""" +# Name: Ansen D. Garvin +# OSU Email: garvina@oregonstate.edu +# Description: Implementation for a Word class. +# Inheretence will probably come in handy for when I add varying parts of speech. import random from syllables import Syllable