Merge lp:~jelmer/meliae/parentheses into lp:meliae

Proposed by Jelmer Vernooij
Status: Needs review
Proposed branch: lp:~jelmer/meliae/parentheses
Merge into: lp:meliae
Diff against target: 21 lines (+4/-4)
1 file modified
meliae/_scanner_core.c (+4/-4)
To merge this branch: bzr merge lp:~jelmer/meliae/parentheses
Reviewer Review Type Date Requested Status
Meliae Development Team Pending
Review via email: mp+399252@code.launchpad.net

Description of the change

Add some missing parentheses.

To post a comment you must log in.

Unmerged revisions

232. By Jelmer Vernooij

Add some missing parentheses.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'meliae/_scanner_core.c'
2--- meliae/_scanner_core.c 2020-05-30 00:26:37 +0000
3+++ meliae/_scanner_core.c 2021-03-07 16:00:55 +0000
4@@ -330,13 +330,13 @@
5 {
6 Py_ssize_t size;
7
8- if PyList_Check(c_obj) {
9+ if (PyList_Check(c_obj)) {
10 return _size_of_list((PyListObject *)c_obj);
11- } else if PyAnySet_Check(c_obj) {
12+ } else if (PyAnySet_Check(c_obj)) {
13 return _size_of_set((PySetObject *)c_obj);
14- } else if PyDict_Check(c_obj) {
15+ } else if (PyDict_Check(c_obj)) {
16 return _size_of_dict((PyDictObject *)c_obj);
17- } else if PyUnicode_Check(c_obj) {
18+ } else if (PyUnicode_Check(c_obj)) {
19 return _size_of_unicode((PyUnicodeObject *)c_obj);
20 } else if (PyLong_CheckExact(c_obj)) {
21 return _size_of_long((PyLongObject *)c_obj);

Subscribers

People subscribed via source and target branches

to all changes: