Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #91702
| Date | 2015-06-01 13:36 -0400 |
|---|---|
| From | "Littlefield, Tyler" <tyler@tysdomain.com> |
| Subject | replace parens update |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.9.1433180532.13271.python-list@python.org> (permalink) |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all: I've put a new version here: https://dl.dropboxusercontent.com/u/10204868/replace_parens.py It's for me, a lot easier to understand. It uses regex to replace parens rather than using a state machine and conforms to the python standards for naming and conventions. HTH, - -- Take care, Ty twitter: @sorressean web:http://tysdomain.com pubkey: http://tysdomain.com/files/pubkey.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJVbJgbAAoJEAdP60+BYxejGSoIAJUc3n7dL74MOc6APQ1gY+io iQhMtmYEp2s5zjv7NP7i+ENWBys8+r7GDBghYW6xrV1JD24VuSFWi1Zya1RuRy2b v95b+EH/ppHGva4jF71uBAVW4Rh3gdW0uqDrmW4FCdWhZaTATv3hlwG/M5QcFvjF fDj/lXEB/zljqmf8Hdp3FuHj+QkwJwZihVOhHOHIiZ4zXMlT2J+M76LQKdHcMpFE SJVaju5isJYEWXGJ9r/iJwgf87Y9fe20bWfqNw0MQtxjiApwo5wcvZshBz6vbLHg ehKRD/Xz9yBSWnfTrSw0wkOE1uVk4cQlVLhBkP6WvfSf1UYKtXnf6zyNwILu+Rs= =Ka2/ -----END PGP SIGNATURE-----
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
replace parens update "Littlefield, Tyler" <tyler@tysdomain.com> - 2015-06-01 13:36 -0400
csiph-web