File: x.py.styled

package info (click to toggle)
mysql-workbench 6.2.3%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 102,612 kB
  • ctags: 84,593
  • sloc: ansic: 804,682; cpp: 438,759; yacc: 59,129; python: 54,293; xml: 48,851; sql: 5,512; objc: 1,414; makefile: 505; sh: 455; java: 237; ruby: 6; perl: 5; php: 1
file content (11 lines) | stat: -rw-r--r-- 435 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
{1}# Convert all punctuation characters except '_', '*', and '.' into spaces.{0}
{5}def{0} {9}depunctuate{10}({11}s{10}):{0}
	{6}'''A docstring'''{0}
	{7}"""Docstring 2"""{0}
	{11}d{0} {10}={0} {3}""{0}
	{5}for{0} {11}ch{0} {5}in{0} {11}s{10}:{0}
		{5}if{0} {11}ch{0} {5}in{0} {4}'abcde'{10}:{0}
			{11}d{0} {10}={0} {11}d{0} {10}+{0} {11}ch{0}
		{5}else{10}:{0}
			{11}d{0} {10}={0} {11}d{0} {10}+{0} {3}" "{0}
	{5}return{0} {11}d{0}