Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: third_party/twisted_8_1/twisted/lore/numberer.py

Issue 12261012: Remove third_party/twisted_8_1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2001-2004 Twisted Matrix Laboratories.
2 # See LICENSE for details.
3
4
5 def reset():
6 resetFilenum()
7 setNumberSections(False)
8
9 def resetFilenum():
10 setFilenum(0)
11
12 def setFilenum(arg):
13 global filenum
14 filenum = arg
15
16 def getFilenum():
17 global filenum
18 return filenum
19
20 def getNextFilenum():
21 global filenum
22 filenum += 1
23 return filenum
24
25 def setNumberSections(arg):
26 global numberSections
27 numberSections = arg
28
29 def getNumberSections():
30 global numberSections
31 return numberSections
32
33 reset()
OLDNEW
« no previous file with comments | « third_party/twisted_8_1/twisted/lore/nevowlore.py ('k') | third_party/twisted_8_1/twisted/lore/process.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698