File: x.py.styled

package info (click to toggle)
mysql-workbench 6.3.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 113,932 kB
  • ctags: 87,814
  • sloc: ansic: 955,521; cpp: 427,465; python: 59,728; yacc: 59,129; xml: 54,204; sql: 7,091; objc: 965; makefile: 638; sh: 613; java: 237; perl: 30; ruby: 6; 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}