diff --git a/docs/clean.rst b/docs/clean.rst
index 43c81bb8..800cbdcf 100644
--- a/docs/clean.rst
+++ b/docs/clean.rst
@@ -228,10 +228,9 @@ This adds smb to the Bleach-specified set of allowed protocols:
>>> import bleach
- >>> my_protocols = bleach.ALLOWED_PROTOCOLS.union({'smb'})
>>> bleach.clean(
... 'allowed protocol',
- ... protocols=my_protocols
+ ... protocols=bleach.ALLOWED_PROTOCOLS | {'smb'}
... )
'allowed protocol'