Skip to content

Commit 76c847c

Browse files
Fixed usage of #head and #tail to become #key and #value.
1 parent 2b0635a commit 76c847c

File tree

9 files changed

+33
-19
lines changed

9 files changed

+33
-19
lines changed

repository/Python3Generator.package/Dictionary.extension/instance/writePython3On..st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
writePython3On: aWriteStream
33
aWriteStream << ${.
44
self associations do: [ :assoc |
5-
assoc head writePython3On: aWriteStream.
5+
assoc key writePython3On: aWriteStream.
66
aWriteStream << ' : '.
7-
assoc tail writePython3On: aWriteStream ] separatedBy: [ aWriteStream << ' , ' ].
7+
assoc value writePython3On: aWriteStream ] separatedBy: [ aWriteStream << ' , ' ].
88
aWriteStream << $}
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
2-
"name" : "P3GAssignable",
32
"commentStamp" : "JulienDelplanque 6/3/2017 14:37",
4-
"category" : "Python3Generator-Traits"
3+
"classinstvars" : [ ],
4+
"category" : "Python3Generator-Traits",
5+
"instvars" : [ ],
6+
"name" : "P3GAssignable"
57
}
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
2-
"name" : "P3GAttributeAccess",
32
"commentStamp" : "JulienDelplanque 6/3/2017 13:55",
4-
"category" : "Python3Generator-Traits"
3+
"classinstvars" : [ ],
4+
"category" : "Python3Generator-Traits",
5+
"instvars" : [ ],
6+
"name" : "P3GAttributeAccess"
57
}
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
2-
"name" : "P3GBinaryOperationSupport",
32
"commentStamp" : "JulienDelplanque 6/4/2017 12:30",
4-
"category" : "Python3Generator-Traits"
3+
"classinstvars" : [ ],
4+
"category" : "Python3Generator-Traits",
5+
"instvars" : [ ],
6+
"name" : "P3GBinaryOperationSupport"
57
}

repository/Python3Generator.package/P3GCall.class/instance/writePython3On..st

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ writePython3On: aStream
1010
ifTrue: [ aStream << $, ].
1111
self keywordArguments associations
1212
do: [ :assoc |
13-
assoc head isString
13+
assoc key isString
1414
ifFalse: [ self error: 'Keys of keyword arguments dict must be strings.' ].
15-
aStream << assoc head.
15+
aStream << assoc key.
1616
aStream << $=.
17-
assoc tail writePython3On: aStream ]
17+
assoc value writePython3On: aStream ]
1818
separatedBy: [ aStream << $, ].
1919
aStream
2020
<< $)
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
2-
"name" : "P3GCallable",
32
"commentStamp" : "JulienDelplanque 6/3/2017 14:27",
4-
"category" : "Python3Generator-Traits"
3+
"classinstvars" : [ ],
4+
"category" : "Python3Generator-Traits",
5+
"instvars" : [ ],
6+
"name" : "P3GCallable"
57
}
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
2-
"name" : "P3GImportable",
32
"commentStamp" : "JulienDelplanque 6/3/2017 15:05",
4-
"category" : "Python3Generator-Traits"
3+
"classinstvars" : [ ],
4+
"category" : "Python3Generator-Traits",
5+
"instvars" : [ ],
6+
"name" : "P3GImportable"
57
}
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
2-
"name" : "P3GSubscriptionable",
32
"commentStamp" : "JulienDelplanque 6/4/2017 11:32",
4-
"category" : "Python3Generator-Traits"
3+
"classinstvars" : [ ],
4+
"category" : "Python3Generator-Traits",
5+
"instvars" : [ ],
6+
"name" : "P3GSubscriptionable"
57
}
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
2-
"name" : "P3GTExecutable",
32
"commentStamp" : "JulienDelplanque 6/3/2017 13:53",
4-
"category" : "Python3Generator-Traits"
3+
"classinstvars" : [ ],
4+
"category" : "Python3Generator-Traits",
5+
"instvars" : [ ],
6+
"name" : "P3GTExecutable"
57
}

0 commit comments

Comments
 (0)