-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
u"""Advice from Louis C.K.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# -*- coding: utf-8 -*- | ||
"""On 'the N word'. | ||
--- | ||
layout: post | ||
source: ??? | ||
source_url: ??? | ||
title: the 'n-word' | ||
date: 2014-06-10 12:31:19 | ||
categories: writing | ||
--- | ||
Take responsibility with the shitty words you wanna say. | ||
""" | ||
from tools import existence_check, memoize | ||
|
||
|
||
@memoize | ||
def check_repeated_exclamations(text): | ||
"""Check the text.""" | ||
err = "skekely.nword" | ||
msg = u"Take responsibility for the shitty words you want to say." | ||
|
||
list = [ | ||
"the n-word", | ||
] | ||
|
||
return existence_check(text, list, err, msg) |