Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: Add missing Servant pattern to README behavioral patterns table #458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
faif merged 1 commit into faif:master from xingarr:docs/add-servant-pattern-to-readme
Nov 7, 2025

Conversation

@xingarr
Copy link
Contributor

@xingarr xingarr commented Nov 4, 2025

Description

This PR adds the missing Servant design pattern entry to the README's Behavioral Patterns table.

Problem

The Servant pattern was fully implemented in patterns/behavioral/servant.py with:

  • ✅ Complete implementation with proper docstrings
  • ✅ Working examples and doctests
  • ✅ Unit tests in tests/behavioral/test_servant.py

However, it was not documented in the README.md's Behavioral Patterns table, making it invisible to users browsing the repository.

Solution

Added the Servant pattern entry to the Behavioral Patterns table in alphabetical order:

| [servant](patterns/behavioral/servant.py) | provide common functionality to a group of classes without using inheritance |

@faif faif merged commit 5110def into faif:master Nov 7, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /