126 |
126 |
127 @staticmethod |
127 @staticmethod |
128 def permutations(url): |
128 def permutations(url): |
129 """ |
129 """ |
130 Static method to determine all permutations of host name and path |
130 Static method to determine all permutations of host name and path |
131 which can be applied to blacklisted URLs. |
131 which can be applied to blocked URLs. |
132 |
132 |
133 @param url URL string to be permuted |
133 @param url URL string to be permuted |
134 @type str |
134 @type str |
135 @yield permutated URL strings |
135 @yield permutated URL strings |
136 @ytype str |
136 @ytype str |