Skip to content

Commit 826f72d

Browse files
author
Matthias Koeppe
committed
src/sage/crypto/classical_cipher.py: Use one more block-scoped tag
1 parent 2f0f2f6 commit 826f72d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/sage/crypto/classical_cipher.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -169,17 +169,18 @@ def __init__(self, parent, key):
169169
170170
EXAMPLES::
171171
172+
sage: # needs sage.modules
172173
sage: S = AlphabeticStrings()
173-
sage: E = HillCryptosystem(S,3); E # needs sage.modules
174+
sage: E = HillCryptosystem(S,3); E
174175
Hill cryptosystem on Free alphabetic string monoid on A-Z of block length 3
175-
sage: M = E.key_space() # needs sage.modules
176-
sage: A = M([[1,0,1],[0,1,1],[2,2,3]]); A # needs sage.modules
176+
sage: M = E.key_space()
177+
sage: A = M([[1,0,1],[0,1,1],[2,2,3]]); A
177178
[1 0 1]
178179
[0 1 1]
179180
[2 2 3]
180-
sage: e = E(A); e # needs sage.modules
181+
sage: e = E(A); e
181182
Hill cipher on Free alphabetic string monoid on A-Z of block length 3
182-
sage: e(S("LAMAISONBLANCHE")) # needs sage.modules
183+
sage: e(S("LAMAISONBLANCHE"))
183184
JYVKSKQPELAYKPV
184185
185186
TESTS::

0 commit comments

Comments
 (0)